-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Labels
DesktopNative desktop API work with Windows/Mac/Linux and CEFNative desktop API work with Windows/Mac/Linux and CEF
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 9f25c50) on MS Windows 11 Home (v10.0.26200).
Steps to reproduce:
- Open the desktop version of Graphite app.
- Create the new document.
- Draw an ellipse in the document.
- Press Ctrl+S to save the document. (-> the asterisk on the document header disappears already at this point, which is suspicious)
- In the Save dialog, press the Cancel button.
- 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.
Metadata
Metadata
Assignees
Labels
DesktopNative desktop API work with Windows/Mac/Linux and CEFNative desktop API work with Windows/Mac/Linux and CEF
Type
Projects
Status
Short-Term
Status
No status