Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

After the recent update, Mac os Sierra, to my Macbook pro, I'm facing scrolling issues with all Java applications like Intellij IDEA community edition.

The scrolling in the editor panes are extremely fast. The unit of scroll increments seem to be large.

Intellij IDEA Version is 2016.2.3. Java version is Java 8 Update 10.1.

I see the same behavior even in the "System Preference" -> "Java" -> "Advanced" tab .

share|improve this question
    
You need to install JDK from JetBrains. – pbespechnyi Sep 28 at 7:57
up vote 30 down vote accepted

This is a 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.

Edit: see also this OpenJDK bug: https://bugs.openjdk.java.net/browse/JDK-8166591

Edit2: as described in the other answer, JetBrains have fixed their custom JDK. You can download it here and follow these instructions to make IntelliJ use this JDK instead (select the option labeled ... to choose a custom location).

share|improve this answer
    
Thanks Bastien for sharing the issue id. Eagerly waiting for the fix from Intellij. – josamuel Sep 22 at 16:24
5  
After download you have to place extracted jdk folder to /Library/Java/JavaVirtualMachines. Otherwise it will not appear on Switch IDE boot JDK. I saw this in AndroidStudio. – Sattar Hummatli Oct 1 at 11:56
1  
This answer solves problem in Android Studio too. – Sattar Hummatli Oct 1 at 11:58
    
@SattarHummatli the last option, labeled ..., allows you to choose an installation located in any directory. – Bastien Jansen Oct 2 at 16:59
    
@BastienJansen, May be there is such option in Intellij, but in Android Studio not option labled .... It only shows options from JavaVitulaMachines folder. – Sattar Hummatli Oct 3 at 6:53

You need to install JDK from JetBrains as it includes fix for this issue.

Link to JDK:

Unpack it somewhere, press Command ⌘ + Shift + A, paste "Switch IDE Boot JDK" and point to unpacked directory.

Link to instructions from JetBrains.

UPD: JetBrains fixed this issue in latest build. See link.

share|improve this answer
    
The JDK "fix" makes the scrolling in JetBrains products jerkily instead of insanely fast. Sadly, this is a problem of Apple product which needs third-parties to fix. – Rockallite Oct 10 at 1:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.