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.
Created attachment 140134 [details] video with issue Please check the video, if I horizontally scroll in editor (JavaScript file in this case), it becomes "broken", if I stop scrolling and and click inside editor, it recovers after a very short time (< 1sec) I does not happen with every file though, I'm attaching one where you can reproduce it. Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b49 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 140135 [details] sample file Sample file to reproduce.
Created attachment 140136 [details] IDE log IDE, please note that java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int) is not related.
If you format the attached file, the issue is reproducible also on vertical scrolling. One thing I noticed is the gray background color, which should be white as in any other JS file
I saw it on multiple CSS/JS files and it is pretty ugly, especially when it happens during e.g. debugging
It looks that for some reason the background is not cleared when painting the text. We could add an extra background clearing and see whether it resolves the problem.
I'm unable to reproduce the problem on the given file on Ubuntu 13.04 Java; VM; Vendor = 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b48; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0-ea-b106 I'd like to ask QE to possibly test other platforms as well. Thanks.
I'll try it on Win and different Ubuntu. Maybe it is only 32bit JDK issue
Unfortunately I cannot reproduce it on other OS than mine. I've tried latest trunk build on Win8 (both 32b and 64b JDK) and on another Ubuntu 12.04 with 32b JDK and it works there. But I still can reproduce it on mine machine...
I'm not sure if it's related but I just saw the same problem in output window as well once its content became too long (e.g. after running ant clean on nbbuild)
Could you possibly run java notepad: java -jar <jdk>/demo/jfc/Notepad/Notepad.jar and paste the large content there and test whether the problem is showing or not? Thanks. Since it's likely a jdk problem downgrading to P2.
Yes, the same problem is with the Notepad except NetBeans recovers if I click inside text but notepad doesn't java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b109) Java HotSpot(TM) Server VM (build 25.0-b51, mixed mode)
Reassigning to platform/jdk. Since this is a visible problem this should imho be given a higher priority among jdk issues.
JDK bug #8026261 created. https://bugs.openjdk.java.net/browse/JDK-8026261