Bug #2860
Mis à jour par Matthieu Decorde il y a plus de 5 ans
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
h3. 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)
h3. 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
h3. 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
h3. 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"
- 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
h3. 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)
h3. 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
h3. 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
h3. 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"