PDA

View Full Version : A warning for Mac users.



seelo
Nov 17th, '03, 01:43 PM
I just noticed an annoying bit of behavior of Java on Macs that affects HD.

Because of how MacOS deals with menus there are actually two ways to quit HD. One is the Exit (Ctrl-x) command in the File menu that Simon supplied in the application's window. The other the the Quit (command Q) in the Hero Designer menu which the OS supplied in the system menu bar.

The latter does not invoke any of the checks or clean up HD usually does as it shuts down. So for instance if you have unsaved changes HD won't warn you if you use the cmd-Q option to quit.

This might be a useful thing to put in the readme file that comes with the Mac version.

keithcurtis
Nov 17th, '03, 07:12 PM
Thanks seelo,

That explains why there were no changes where I was sure I had made some.

Keith "slaps his head and says 'd'oh'!" Curtis

Aroooo
Nov 18th, '03, 05:36 AM
Good catch! Never noticed that. I confirmed that this behavior is the same on Panther 10.3.1 and Java 1.4.1

On a 'good' note though, if you click HD's main window red close button (the third way to quit HD) HD will ask you to save.

My guess is that Java is behaving like X11 - where invoking a Quit command from the File menu will quit the X11 layer and all X11 apps running within it. Only (at least the last time I played with X11) X11's shell warned you that doing so would kill all apps without saving.

Aroooo