[MC-594] cmd + Q doesn't quit on mac Created: 25/Oct/12  Updated: 07/Sep/15  Resolved: 26/Oct/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Kristoffer Andersen Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: OSX, mac
Environment:

Mac OS X mountain lion (and below) build in java


Issue Links:
Duplicate
is duplicated by MC-2942 Command-Q to quit doesn't work Resolved
is duplicated by MC-3982 Quit function does not work on Mac...... Resolved
Relates
relates to MC-80476 On macOS, the "drop item stack" short... Reopened
relates to MC-22882 Ctrl + Q won't work on Mac Reopened
Confirmation Status: Unconfirmed

 Description   

pressing cmd + Q does not quit the game, even though its a shortcut key. Quitting from the top bar on OS X does not work either (guess that's why cmd+Q doesn't work) I works in the Launcher but soon as you log in, it stop working



 Comments   
Comment by FireHunterX [ 10/Jan/13 ]

One version change log clearly stated:
"Fixed Cmd-Q not quitting on Mac"
And yet...
It does not work.

Comment by Kobi Tate [ 25/Nov/12 ]

Since my comments are clearly being ignored, I am going to provide some backing to my reasoning using Apple's official OS X Human Interface Guidlines (HIGs).

Every single mac app, according to the HIGs, has an "App Menu", which is the menubar item that says "Minecraft" in this case. This menu is expected to contain "About AppName", "Preferences...", "Services", "Hide AppName", "Hide Others", "Show All", and "Quit AppName" (1). While Minecraft has all of these, the Quit menu does not function.

The Quit function also appears in the HIGs' list of Standard Keyboard shortcuts. If you scroll down to the letter Q, you will see that every Mac app is expected to use Command-Q to quit (2).

It has also been made clear that the reason that the Quit function does not work is that people believe that the OS simply stops the process. This is not the case whatsoever. As seen in the screen recording on source 3, the Quit function does not stop the process. The example I used to create the screen recording is saving a document. If the OS stopped the process when the Quit function was executed, I would not be prompted to save the file.

These are system-wide functions that all Mac developers are expected to follow and, therefore, this should be added to the Minecraft Mac client.

Sources:
1. http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/Menus/Menus.html#//apple_ref/doc/uid/TP30000356-CIHDGFJB
2. http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/KeyboardShortcuts/KeyboardShortcuts.html
3. http://youtu.be/45GDEclqQNg

Comment by Kobi Tate [ 17/Nov/12 ]

So, we're just going to ignore my comment?

Comment by Kobi Tate [ 14/Nov/12 ]

You can set it up to run the clean shutdown on Quit. The OS doesn't just kill the processes when you use Quit. If it did, you wouldn't get a window to make sure you've saved a document in Word (or any document creation tool). This is an OS Default and needs to be implemented. Every single Mac App supports Command-Q.

Comment by Mead [ 26/Oct/12 ]

The game is meant to be shut down cleanly using the button in the Option menu. As was said, you can corrupt your world by having the OS kill the process.

Comment by Daedalus Young [ 25/Oct/12 ]

Confirmed, but may be intended since you have to close the game using the designated buttons? If you don't, your world may get corrupted or you'll lose some game progress.

Generated at Sun Jan 12 11:51:33 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.