[MC-3771] Game won't unpause after switching windows (Java 7 on 64-bit Linux) Created: 24/Nov/12  Updated: 08/Aug/20  Resolved: 24/Nov/12

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

Type: Bug
Reporter: Jonathan Blanton Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: menu
Environment:

64-bit Debian Linux with OpenJDK 7


Confirmation Status: Unconfirmed

 Description   

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   
Comment by Kumasasa [ 24/Nov/12 ]

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

Comment by Jonathan Blanton [ 24/Nov/12 ]

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.

Comment by phillips1012 [ 24/Nov/12 ]

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

Generated at Sun Jan 12 12:02:20 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.