No save confirmation on exit
|Status:||Assigned||Start date:||17 October 2013|
|Assignee:||Christophe Demeulemeester||% Done:|
|Target version:||Modelio 3.2|
Steps to reproduce:
- Open some project
- Make some changes
- Close Modelio
Changes will be lost. Although you might say it’s user fault, in fact it just breaks the principle of least astonishment. It’s pretty much taken for granted that any editorish program will prompt user if they have any unsaved changes.
#2 Updated by WGH WGH almost 8 years ago
I tried two different platforms. Modelio build number is the one you specified.
- Windows 7 64-bit running 64-bit Java build 1.7.0_07-b11 (“system” one, not bundled)
- Gentoo Linux 64 bit running 64-bit IcedTea7 2.3.2
I followed my steps again, and turned out it’s sometimes shown, sometimes not.
It seems that selecting “File –> Quit” always shows the prompt. Closing the window will sometimes skip the prompt. Pressing Alt+F4 repeatedly won’t help reproducing this bug (i.e. if prompt has been shown once, it will be shown again).
Platform doesn’t seem to matter.
There’s nothing strange in the logs (except usual “BundleEvent noise”).
Amount of changes made to the project probably doesn’t matter, too (as I lost hour worth of work once).
I’ll post more info if I find something interesting.
#4 Updated by WGH WGH almost 8 years ago
Even though I managed to capture a video of this, I couldn’t find absolutely reliable sequence of actions. Doing this about 10 times in a row should yield at least one manifestation of the bug.
Again, I tested two different platforms (different OS, different JVM, one of them is a mighty PC and the other is an old laptop), and was able to reproduce this in under 10 cycles pretty reliably.