mojira.dev
MC-132029

cmd-tab from F11 forces minimize to Dock on macOS

The bug

Using F11 to go into full-screen causes the Minecraft window to minimize to the Dock whenever cmd-tab is pressed to "tab out" another window. The behavior works correctly when Minecraft is maximized using the green window maximize button.

How to reproduce

  1. Launch the game

  2. Press fn-ctrl-F11 (to switch into full-screen, if not already)

  3. Press cmd-Tab (to tab out to another application)

  4. Press cmd-Tab again to switch back to Minecraft

Observed behavior: Window minimizes to Dock, making it impossible to tab back to, and forcing the user to click the minimized window to bring it back. (Demonstrated in attached video)

Expected behaviour: Minecraft should remain maximized but allow you to tab out and back in again, just as it does when you maximize the window using the green window "Maximize" button.

Linked issues

Attachments

Comments 6

This is just how MacOS works, there is nothing Mojang could do about it

^ Not true

Do you have a technical reference to assert that, or can you demonstrate other apps that behave in this way where it is deemed to be the correct behaviour?

Other apps maximise themselves to a space which slides across the screen when you tab back/forth. This is the same behaviour as if you were pressing the green maximise button with Minecraft, and in fact, Minecraft will behave correctly under these conditions and Alt-Tab will "slide" across.

However, when F11 is used, a different type of full-screen is happening which is causing Minecraft to minimise to the Dock when you Alt-Tab. So it would be more correct to say that "This is just how MINECRAFT works" and that is why it is reported as a Minecraft bug.

This possibly relates to:

Ah yes, I understand what you mean now. Sorry.

This might be related to MC-158117.

In 1.17, this report is blocked by MC-228486.

As of 24w05b MC-228486 seems to no longer be an issue so I can reproduce this once again.

bugmancx

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, ..., Minecraft 18w43c, Minecraft 19w05a, Minecraft 19w12a, 20w08a, 24w05b

Retrieved