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

Using Window tiling apps on Mac causes Java programs to become laggy

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Mac with JRE 8u152

      A DESCRIPTION OF THE PROBLEM :
      Here are a few links referencing this issue:
      https://apple.stackexchange.com/questions/283941/macbook-pro-2016-left-click-lag-in-games
      https://github.com/rstudio/rstudio/issues/1539
      https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_mac-mso_mac2016/word-2016-still-slow-laggy-after-1530-update/3b07b70a-5be9-4865-8d54-66792b3ee842
      https://www.mathworks.com/matlabcentral/answers/422244-why-do-buttons-and-the-editor-in-matlab-r2018b-respond-slowly-on-macos

      It looks like these apps use some CAccessibility classes. In JRE 8u152 there was another bug that was addressed (https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8085799). Following this update, instead of a Java error, these performance issues started occurring.

      Specifically with MATLAB R2018a there was an issue for bug_id=8085799. With R2018b, MATLAB shipped with 8u152 and started to see the same performance issues that other programs are.

      REGRESSION : Last worked in version 8u172

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use one of the programs from the description as well as a tiling app on Mac (Magnet, HyperDock, BetterTouchTool. See the other program is very slow to react to user input (clicks)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No lag
      ACTUAL -
      Laggy user input

      CUSTOMER SUBMITTED WORKAROUND :
      For Magnet, specifying to "Ignore Program" is a workaround or stop using the Magnet app.

      FREQUENCY : often


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pardesha Pardeep Sharma
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: