Sozi icon indicating copy to clipboard operation
Sozi copied to clipboard

No warning if I quit Sozi without saving

Open NedNet29 opened this issue 3 years ago • 5 comments

Summary of your problem or feature request

Sozi allows to quit without warning that the current presentation hasn't been saved

Version of Sozi and other relevant software

Sozi 21.04 and 21.05 beta, but I think this is irrelevant since this is a feature request

Steps to reproduce the problem

Launch Sozi, open an SVG, create a view, move frame content ("save" button activates), do not click on "save" button, quit Sozi.

Expected behavior

It would be great if a dialog box could warn that the presentation isn't saved, and ask if we want to do so :

Warning : Presentation not saved [don't quit] [quit without saving] [save and quit]

NedNet29 avatar Jun 03 '21 09:06 NedNet29

I agree that this would be useful when autosave is disabled. The default behavior is to save automatically when quitting.

aumouvantsillage avatar Jun 03 '21 20:06 aumouvantsillage

where can this default behavior can be set ? All I see in the settings is to save when Sozi loses focus (which is already pretty cool). I never changed that setting to "manually". So I guess quitting doesn't trigger the focus loss event (at least on Win 10 OS)

NedNet29 avatar Jun 03 '21 21:06 NedNet29

FYI : I did several tests with Sozi 21.04 and 21.05 and I can't reproduce the fact that it quits without automatically saving, both with W10 and Fedora 33. It did happen at least once last week (when I posted initial post), but not since.

NedNet29 avatar Jun 07 '21 13:06 NedNet29

OK. Please let me know if it happens again. However, without a reproducible scenario, it will be difficult to debug.

aumouvantsillage avatar Jun 09 '21 21:06 aumouvantsillage

You can count on me. and I agree about the reproductability.

NedNet29 avatar Jun 10 '21 15:06 NedNet29