Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282337

Some Java applications run at about 5FPS unless there's keyboard/mouse input

XMLWordPrintable

    • x86_64
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Happened to me on every single distribution and version of Linux I've used, with multiple window managers (KWin, Gnome's Mutter, IceWM). JRE 8 onwards (upper versions affected too)

      A DESCRIPTION OF THE PROBLEM :
      The Java application runs fine, smoothly at the intended frame rate while there's input (such as mouse movement over the program's main window), but as soon as that input stops, the program runs incredibly choppy, and as soon as the mouse moves over the main window again, the animations go back to running smoothly. Leaving the cursor inside the main window isn't enough, it has to be constantly moving.

      I've seen this bug mentioned around a few times in some forums like stackoverflow, with a few different applications, but it never gained much traction.

      This bug was introduced with Java 8 (SE/JRE), it doesn't happen in Java 7 or 6 even using the same application. For me, it's happening in the Java game Puzzle Pirates, and it's forcing me to launch the game on Java 7 because the game is unplayable on Java 8 (or newer, I've tried 11, 12, and upper with no luck). It's not the only application that's affected.


      FREQUENCY : always


            pnarayanaswa Praveen Narayanaswamy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: