This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Editor scroll very slow on iMac retina 5k, if i add "-J-Dswing.volatileImageBufferEnabled=false" to netbeans.conf, scroll is fast but no longer in retina mode. Peter
I can confirm this problem. But not only scrolling is awfully slow, even such simple tasks as updating the editor content while typing is so slow the editor is pretty much unusable. You can watch the typed letters appear one by one seconds after having been typed. -J-Dswing.volatileImageBufferEnabled=false really seems to be the only way to make NetBeans at least usable (thanks to mcheung63 for that workaround). But the text looks quite ugly that way, so it's really just a temporary workaround, not a fix.
This fixed it for me: https://jdk8.java.net/download.html
Hi pjl@netbeans.org , just tried your b40, the scroll is still terrible.
It's still not as good as it is on a non-retina display but I'm finding it useable now - although I haven't done much with it yet. The big difference is when typing. With the previous version of Java it would take 3-4 secs. for the text to appear on screen. Now it's pretty much instantaneous. Not ideal but it's a real improvement for me.
I also have this issue on Retina 5K iMac and I have applied JDK8u40 and not seen much improvement. It may be marginally better, but it is still painfully, unacceptably slow.
I too was hoping that 8u40 was going to fix this issue - but NB is unusable on a 5k iMac without the "-J-Dswing.volatileImageBufferEnabled=false" flag (or unless you drag NB over to a second display). Unfortunately the JDK-8029253 ticket and fix does not fix this issue 8(
+1 on this. I'd be happy to test any fixes if that will help.
Thanks for looking into this, I just wanted to add one more piece of information. I've noticed that the lag goes away when scrolling through part of the code that is commented out. So, if you comment out a whole Java file with /* ... */, then it scrolls smoothly. As soon as you uncomment it, then it slows down. Just in case this can help.
I am also experiencing this issue on a 12-inch Retina Macbook, with the latest versions of NetBeans and Java: Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Mac OS X version 10.10.4 running on x86_64; UTF-8; es_XL (nb) Usability is severely impaired. Changing product from "java" to editor, because I'm seeing this in a C++-only project and it's unlikely to be language related.
OpenJDK 9 b76 has fixed this issue! You can download it from: https://jdk9.java.net/download/
OpenJDK 9 b76 also fixed it for me
I'm also facing the same issue in Mac OS X Yosemite, but in my case I have a Macbook Pro (current model) instead of iMac Retina 5k. Using using latest version of the JDK: java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) I'll try with OpenJDK 9 as it was reported to work and update later.
Confirm in mac using jdk1.9.0 scrolling is smooth enough. Here is my netbeans.conf: netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true" netbeans_jdk_home="/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home"
(I AM THE BRAZIL) After the installation of the JDK 8.72 scroll became more fluid and netbeans was well Lighter .. VERY HAPPY