unsaved changes lost when cancelling save
Bug #684702 reported by
rew
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When you hit "quit" when there are unsaved changes, you get a warning popup.
So you hit "save".
When it asks for the filename, you think: Wait, let's try XYZ. so instead of saving you want to go back. So you hit "cancel".
Hugin now exists without saving. Ooops.
The warning popup also has a cancel. That will cancel the quit and not lose your data. That the "cancel" in the "enter filename" would cancel the save and quit instantly surprised me.
I agree, that in a sense this makes sense, but I can easily imagine that others would be surprised by this too.
tags: | added: dataloss |
Changed in hugin: | |
status: | New → Confirmed |
Changed in hugin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have solved the problem by adding a new bool variable in the MainFrame
class. This variable is required to determine whether the confirmation
dialog was closed with the Cancel button. The patch is attached.