Issue #140

No save confirmation on exit

Added by WGH WGH almost 8 years ago. Updated about 7 years ago.

Status:AssignedStart date:17 October 2013
Priority:MediumDue date:
Assignee:Christophe Demeulemeester% Done:


Target version:Modelio 3.2


Steps to reproduce:

  1. Open some project
  2. Make some changes
  3. 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.


#1 Updated by Christophe Demeulemeester almost 8 years ago

  • Assignee set to Christophe Malgouyres

Not reproduced with Modelio 3.0.0 Open Source 201309241706 under Windows Seven SP1 64-bit.

@WGH WGH : Can you provide your build number ? (Copy the content of the Help\About window)

#2 Updated by WGH WGH almost 8 years ago

I tried two different platforms. Modelio build number is the one you specified.

  1. Windows 7 64-bit running 64-bit Java build 1.7.0_07-b11 (“system” one, not bundled)
  2. 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.

#3 Updated by WGH WGH almost 8 years ago

Small update: even after selecting “File –> Quit” and clicking “Cancel” there, closing window may close the application without prompt.

#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.

#5 Updated by WGH WGH over 7 years ago

Still happens in 3.0.1 (201311041840).

#6 Updated by Christophe Demeulemeester over 7 years ago

  • Status changed from New to Assigned

#7 Updated by Philippe Vlaemynck about 7 years ago

  • Assignee changed from Christophe Malgouyres to Christophe Demeulemeester
  • Target version set to Modelio 3.2

Also available in: Atom PDF