mac os sierra 更新后 Java 应用程序(如 Intellij)面临滚动问题
After mac os sierra update facing scrolling issue with Java applications like Intellij
最近更新后,Mac os Sierra,对于我的 Macbook pro,我面临所有 Java 应用程序(如 Intellij IDEA 社区)的滚动问题版本。
编辑器面板的滚动速度非常快。的单位
滚动增量似乎很大。
Intellij IDEA 版本为2016.2.3。
Java 版本为 Java 8 更新 10.1.
我什至在 "System Preference" -> "Java" -> "Advanced" 选项卡中也看到了相同的行为。
这是一个known bug, likely caused by the JDK:
It looks like JDK issue and is reproducible with a simple scrollable JList.
Sierra generates much more events than El Captain.
These events contain values ~0.1 instead of expected ~1.
But Java converts these small number to 1 anyway.
编辑:另请参阅此 OpenJDK 错误:https://bugs.openjdk.java.net/browse/JDK-8166591
Edit2:如其他答案所述,JetBrains 已修复其自定义 JDK。您可以 download it here and follow these instructions 让 IntelliJ 使用此 JDK 代替(select 标记为 ...
的选项选择自定义位置)。
您需要从 JetBrains 安装 JDK,因为它包含针对此问题的修复程序。
Link 至 JDK:
在某处解压,按Command ⌘ + Shift + A,粘贴“Switch IDE Boot JDK
" 并指向解压后的目录。
来自 JetBrains 的 Link 到 instructions。
更新: JetBrains 已在最新版本中修复 这个问题。参见 link。
最近更新后,Mac os Sierra,对于我的 Macbook pro,我面临所有 Java 应用程序(如 Intellij IDEA 社区)的滚动问题版本。
编辑器面板的滚动速度非常快。的单位 滚动增量似乎很大。
Intellij IDEA 版本为2016.2.3。 Java 版本为 Java 8 更新 10.1.
我什至在 "System Preference" -> "Java" -> "Advanced" 选项卡中也看到了相同的行为。
这是一个known bug, likely caused by the JDK:
It looks like JDK issue and is reproducible with a simple scrollable JList. Sierra generates much more events than El Captain. These events contain values ~0.1 instead of expected ~1. But Java converts these small number to 1 anyway.
编辑:另请参阅此 OpenJDK 错误:https://bugs.openjdk.java.net/browse/JDK-8166591
Edit2:如其他答案所述,JetBrains 已修复其自定义 JDK。您可以 download it here and follow these instructions 让 IntelliJ 使用此 JDK 代替(select 标记为 ...
的选项选择自定义位置)。
您需要从 JetBrains 安装 JDK,因为它包含针对此问题的修复程序。
Link 至 JDK:
在某处解压,按Command ⌘ + Shift + A,粘贴“Switch IDE Boot JDK
" 并指向解压后的目录。
Link 到 instructions。
更新: JetBrains 已在最新版本中修复 这个问题。参见 link。