Steps to Reproduce:
Launch Minecraft on one screen and notepad on second screen
Make Minecraft fullscreen using F11 key
Try typing something in a notepad
What I expected to happen:
Minecraft will still run in fullscreen, and won't minimize itself
What actually happened:
**Minecraft mimized itself to a taskbar
By focus I mean currently active window
This bug does not allow for multitasking (Play Minecraft on one screen and replying to friends on second screen)
Linked issues
is duplicated by 6
Attachments
Comments 11
Yeah, I have the same problem with switching workspaces in Manjaro. It's really annoying so I hope it gets fixed.
I even made a short clip of it that I attatched.
[media]This functionality is controlled by a GLFW window flag, GLFW_AUTO_ICONIFY (https://www.glfw.org/docs/latest/window_guide.html#window_hints_wnd), which you can disable. Do note that this makes the window topmost (https://discourse.glfw.org/t/clarification-of-borderless-fullscreen-and-borderless-windowed-modes/1235/2), so you can't put other windows on top of the borderless fullscreen window - this may cause confusion for those with one screen. The solution I've implemented in my mod, Borderless Mining, is to bypass GLFW's concept of fullscreen and just make a window with no decoration that fills the screen.
This is also an issue in Minecraft 1.16.5 on Linux and in Minecraft 1.17.1 on Linux with a single monitor set-up.
Furthermore, setting the GLFW_AUTO_ICONIFY flag to false does not prevent Minecraft from being minimized either. This is regardless of whether the compositor is enabled or disabled and regardless of whether GLFW is allowed to bypass the compositor.
Using a borderless fullscreen window has the issue that it seems impossible to resize the window such that it overlaps the OS's taskbar. Additionally when switching back to windowed mode, GLFW seems to be unable to restore the window borders.
As a workaround I can ask my window manager (plasma) to make Minecraft fullscreen and this works almost flawlessly. With the exception that pressing F11 to toggle fullscreen mode in-game can cause my computer to hang.
P.S. GLFW is the backend that LWJGL uses to provide OpenGL support.
The game uses "true" fullscreen mode so this is expected to happen. We don't support fullscreen (windowed).
Confirmed in 1.19.2, on Fedora Linux 36, with GNOME and wayland on a single monitor. also, when I have another window overtop the Minecraft fullscreen window that is set to always on top, (like picture-in-picture from firefox) minecraft forces itself to be minimized making it unusable.
> The game uses "true" fullscreen mode so this is expected to happen. We don't support fullscreen (windowed).
Maybe have a chat with Valve Software Linux developers team. They actually know how to do this properly.
Please QA Team at Mojang, being technically right does not mean the described behavior in the issue is right on user perspective.
There are other programs that perfectly behaves in a user friendly way in full screen in Linux environments while not annoying users with such inappropriate behavior. I can cite you Steam On Linux, Valve games that perfectly and seamlessly switches in and out of full-screen.
The fact you are arguing on a purely technical point of view, rather than simply acknowledging the problem, showing you take the issue seriously, plan to find a solution to it.. kind of place your ability to positively acknowledge of issues from your users and customers, somehow very questionable.
Can confirm. I'm unsure whether this can be fixed or whether this functionality relies on LWJGL.