mojira.dev
MC-3771

Game won't unpause after switching windows (Java 7 on 64-bit Linux)

If I switch to another window while playing Minecraft, when I go back to Minecraft the game won't unpause. It doesn't matter if I pause the game before switching windows. When I click the "Back to Game" button in the menu, the clicking sound plays, but the game doesn't resume. All the other menu buttons work correctly, and I can save and quit without a problem. I have to exit Minecraft completely to get it to work correctly again.

The bug first showed up when I upgraded from OpenJDK 6 to OpenJDK 7. When I went back to Java 6, the bug went away. Unfortunately, I can't stay with Java 6 because of MC-2749. I don't have a crash report because the game doesn't crash; it just stays at the menu forever. I tried updating LWJGL just to see if it would make a difference, but it didn't fix the bug.

Comments 3

Hmm... doesn't happen with me. What desktop environment are you using? (gnome, unity, kde?)

I use a minimalist window manager called ratpoison. It seems that the problem depends on the window manager. The problem occurs when I use ratpoison, stumpwm, or evilwm, all of which are extremely minimalist. But it doesn't happen if I use twm, fvwm or fluxbox, which are all more normal window managers. So it seems like the problem doesn't occur using more "conventional" window managers. I'm guessing it's some strange interaction between the window manager and Java (and/or LWJGL). At this point, further debugging is beyond my skill.

I can work around the problem by changing my window manager, but it's extremely annoying that I can't use my preferred environment with Minecraft.

Ok, closing this here, since this is probably no Minecraft issue.

Jonathan Blanton

(Unassigned)

Unconfirmed

menu

Minecraft 1.4.5

Retrieved