mojira.dev

Wyatt Childers

Assigned

No issues.

Reported

MC-63463 Lag on resume from minimize Incomplete MCL-2642 Legacy: Launcher looks horrible on KDE Fixed

Comments

I can confirm this occurs for Minecraft 1.7 - 1.12 as well.

 

This has been resolved, thanks.

This a thread dump generated by JStack, not sure if it will help. I've noticed that the CPU also spikes incredibly high for the game when this bug occurs. Unfortunately, my VisualVM client is refusing to function properly so I cannot provide timings at the current time.

EDIT: I don't know if this is related, but VisualVM will simply not allow me to profile my MineCraft client.

I can also confirm that this problem seems to affect MineCraft only. RuneScape for example does not have this issue despite being similarly driven by Java & Open GL.

This code may fix the issue:

for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
    if ("com.sun.java.swing.plaf.gtk.GTKLookAndFeel".equals(info.getClassName())) {   
       javax.swing.UIManager.setLookAndFeel(info.getClassName());
       break;
     } 
}

I believe this is very similar to, or perhaps the same as the incomplete bug MC-19539.