GraphiteEditor / GraphiteEditor/Graphite
Cancelling document saving leads to content/modifications being lost
- Langage dominant
- Rust
- Étoiles
- 27.2k
- Forks
- 1.3k
- Merge moyen
- 20 h 5 min
- PR mergées (30 j)
- 57
Description
**Description:**
If cancel saving the document then there will be no warning about unsaved changes when closing the document. This can lead to losing modifications after the document is closed.
**Environment:**
The bug is happening in the desktop version of Graphite app (commit 9f25c50c) on MS Windows 11 Home (v10.0.26200).
**Steps to reproduce:**
1. Open the desktop version of Graphite app.
2. Create the new document.
3. Draw an ellipse in the document.
4. Press Ctrl+S to save the document. (-> the asterisk on the document header disappears already at this point, which is suspicious)
5. In the Save dialog, press the Cancel button.
6. Close the document.
Expected: Graphite app shows the popup with the suggestion to save the document.
Actual: Graphite app silently closes the document, so all the content in the document is lost.
The similar issue is happening when you open document, make changes, start saving it as another document, pressing the Cancel button in the Save dialog and closing the document -> all the changes in the document are lost.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire le flux d’enregistrement et d’annulation dans l’application de bureau Graphite sur Windows, puis suivez la manière dont l’annulation de Save affecte l’état modifié du document et l’invite à la fermeture. C’est terminé lorsque l’annulation de l’enregistrement normal ou de Save As conserve l’indicateur de modifications non enregistrées et que la fermeture du document affiche l’avertissement d’enregistrement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- desktop
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 48/100