Midnight Mansion Forums
Closing, minimise and change size buttons - Printable Version

+- Midnight Mansion Forums (https://actionsoft.com/forum)
+-- Forum: 130 (https://actionsoft.com/forum/forumdisplay.php?fid=13)
+--- Forum: 998 (https://actionsoft.com/forum/forumdisplay.php?fid=165)
+--- Thread: Closing, minimise and change size buttons (/showthread.php?tid=1795)

Pages: 1 2 3


Closing, minimise and change size buttons - rose - 07-26-2011

In the old MM1 there was only the yellow button functioning. I put the window in the Dock. Clicking on the app icon in the Dock open the window up again on the screen.

In MMHD we have all three buttons. I have so many times clicked on the read one to just close the window, BUT it closes the application without asking if that is what I want.  >Sad

Minimise the window to the Dock and you can only get it up again when clicking on the specific icon in the Dock. Nothing happens when clicking on the applications icon.




Re: Closing, minimise and change size buttons - VernJensen - 07-27-2011

415C4056330 wrote: I have so many times clicked on the read one to just close the window, BUT it closes the application without asking if that is what I want.  >Sad

Fixed. It will now ask you if you want to quit first, as long as you're in the middle of a game. (I don't think it should ask if you click the red button while on the title screen.)

415C4056330 wrote: Minimise the window to the Dock and you can only get it up again when clicking on the specific icon in the Dock. Nothing happens when clicking on the applications icon.

Unfortunately this is a bug in SDL, making it much harder to fix. I'm aware of it, but it will have to wait until a later release of the game to get fixed.


Re: Closing, minimise and change size buttons - rose - 07-27-2011

Great!


Re: Closing, minimise and change size buttons - rose - 07-30-2011

Now I see another thing which I liked and that is the suspend option when closing the game. It only works if one press Esc key. It would be neat if it showed up when hitting the red button too. I many applications the red button doesn't quit the app but just close the window.


Re: Closing, minimise and change size buttons - RobSeegel - 07-30-2011

You also see the suspend option when focus leaves the window after clicking in some area outside the window.

I think the current confirmation prompt for quitting is fine, other than being a little over-sized. Please do not have the red button simply close the window. I *hate* applications that do that - at least those applications that don't use multiple windows.

I suppose I'm not opposed to seeing the additional button in the quit prompt, though in some cases it will not be applicable.


Re: Closing, minimise and change size buttons - rose - 07-30-2011

I really like it when the red button just closes a window and not quits the app. I hate to have to start the app over and over again. Safari is one app that just closes the window but not quit the application. I want the app open. The same goes for most applications. It is also the Apple
definition
of the red button usage. See the Mac Help.


Re: Closing, minimise and change size buttons - RobSeegel - 07-30-2011

6F726E781D0 wrote: I really like it when the red button just closes a window and not quits the app. I hate to have to start the app over and over again. Safari is one app that just closes the window but not quit the application. I want the app open. The same goes for most applications. It is also the Apple
definition
of the red button usage. See the Mac Help.
Before I replied, I reviewed the user interface guidelines that Apple published. Check them out - you may have to scroll down on the section for Closing windows. Incidentally, the definition of
Close window
is conveniently terse in Mac help. Strictly speaking, it is correct. In all cases, it will close the window. Whether or not this action is sufficient to close the application is left out. I tend to think this was done for simplicity sake here. The user interface guidelines go further.

For some cases, just closing a window is the right behavior. An application like Safari or Firefox, that can create multiple windows is a different case than an application like MM HD.

If I want to temporarily close a MM window until later, I minimize it.


Re: Closing, minimise and change size buttons - rose - 07-30-2011

I been thru the guidelines and it clearly states that the red button is a Close window button. It doesn't say it is for quitting the application. It is the way I have learnt to use closing windows on Mac and most people are used to it so I can't see the point to do it in another way. Users just gets angry and frustrated.


Re: Closing, minimise and change size buttons - RobSeegel - 07-30-2011

Fine. I linked to it, and now I will simply copy the relevant section:

Closing Windows

Users can close windows by choosing Close from the File menu, pressing Command-W, or clicking the close button. Follow the guidelines in this section to ensure that your app closes windows as users expect.

Use modern APIs to preserve the window’s state. Regardless of whether you support Resume, you should remember a window’s onscreen size and position so that you can restore the user’s state when they reopen the window (or reopen your app). To learn more about how to use modern APIs to do this, see “User Interface Preservation” in Mac OS X Application Programming Guide.

In general, quit when users close the last open window in your app. In apps that are not document-based, users generally expect the app to quit when they close the main window. If an app continues to perform some function when the main window is closed, it might be appropriate to leave it running after the user closes the main window. For example, iTunes continues to play after the user closes the main window. If users close the last remaining document window in a document-based app and switch to another app, it’s appropriate to quit the app.

Display a close confirmation save dialog when users close a document window that contains unsaved data. Note that this behavior is automatic in document-based apps that adopt Auto Save. The close confirmation save dialog is similar to the standard Save dialog, but it adds a message that asks the user if they want to save their work. The reason for the message is that the action of closing the window implies that the user wants to discard their changes; if this is not the case, the user can respond by saving the data or canceling the close. Note that the close confirmation save dialog is not displayed if the document window closes as the result of some other action, such as the user quitting the app. In these other situations, you should automatically save the user’s work so that the user can choose to save or discard it at a later time.

After a document has been saved the first time, the close confirmation save dialog is not displayed when users close the document window, because users expect their changes to be saved continuously and without their intervention. (For learn more about save dialogs, see “Save Dialogs.”)



Re: Closing, minimise and change size buttons - rose - 07-30-2011

Missed that line and don't agree! I find that very inconsistent behaviour. I have never expected n application to quit when I close the last window. Why should the last window closing behave differently to closing any other window. It is against human nature that behavoiur