Bug #2860
Annotations, save button fails if no annotation bar is open
Statut: | Closed | Début: | 05/06/2020 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Annotation | Temps passé: | - | |
Version cible: | TXM 0.8.1 |
Description
steps to reproduce :
- make a concordance <text>[] with VOEUX
- annotate the first word with test=shoudsave
- close the annotation bar by clicking on the "-" button
- try saving with the save button
- nothing is saved and no message is shown in console
Solution 0¶
- add a "Save Annotations" button in the Corpus main toolbar
- add a "Save Annotations" entry in the Corpus main menu
- add a "Save Annotations" entry in the Corpus view contextual menu
only show the button IF there are annotations to save.
The action is: save corpus annotations that need to be saved or do nothing if no corpus annotations need to be saved.
Evolution: add "URS Annotations Save" to that action (combined or choosed in a checklist)
Solution 1¶
- when an annotation needs to be saved, the Save button must be active and its action must save the annotations
- when no annotation needs to be saved, the Save button must be inactive and it doesn't have any action
Solution 2¶
- the Save button is always active and its action saves annotations that need to be saved or does nothing if nothing needs to be saved
Solution 3¶
- the Save button is activated when any annotation bar is open
- the Save button is desactivated when the last annotation bar is closed
- if corpus annotations need to be saved (even done from another concordance) a modal dialog box is opened with :
- Message "Save corpus annotations:"
- two buttons
- "Now"
- "Later"
- if corpus annotations need to be saved (even done from another concordance) a modal dialog box is opened with :
Demandes liées
Révisions associées
Historique
#1 Mis à jour par Serge Heiden il y a plus de 5 ans
- % réalisé changé de 80 à 0
#2 Mis à jour par Serge Heiden il y a plus de 5 ans
- Description mis à jour (diff)
- Version cible changé de TXM 0.8.2 à TXM 0.8.1
#3 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- % réalisé changé de 0 à 80
- Description mis à jour (diff)
#4 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#5 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed