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.
Since some days, the editor in the daily builds has repainting problems. This usually starts when the current file contains some errors, but I have seen it happening without any errors as well. Sometimes it's not line duplication (as in the attached screenshots) but the end of the file is simply not displayed. One needs to close and re-open the file in order to get a decent display. The longer NB is running, the more this starts happening. I need to restart NB in order to be able to work with it again. Sometimes it only happens when a long line is scrolled horizontally, but that is less frequent. Apparently the editor is also used in the single line editor when editing e.g. the property "Text" of a JLabel using "Custom code". Sometimes the line is completely empty, and when I move the cursor in the line the characters start appearing. Windows XP, JDK 1.6.0_02 and JDK 1.6.0_01
Created attachment 48771 [details] Screenshot showing duplicated line after pressing ENTER
Created attachment 48772 [details] Screenshot showing how the duplicated line changes when moving the cursor down
Created attachment 48773 [details] Cursor moved down again
There used to be some problems that were already fixed - most importantly issue #114942 and issue #114869. However, there is still issue #115484, which IMO is the cause of lines duplicating as you described it. When it happens again, could you please shutdown the IDE and attach the <userdir>/var/log/messages.log file here? Thank you
I had another repainting problem with dev-build 200709140000-javase. This time is was not when scrolling vertically, but horizontally. A single character would jump back and forth when going through the line using cursor left/right. IDE Log file is attached.
Created attachment 48881 [details] Zipped IDE Log file
The problem was still there after restarting the IDE. I am attaching two screenshots showing this. I can supply the source file as well if needed.
Created attachment 48882 [details] Source file before moving cursor to the right
Created attachment 48883 [details] Display after moving cursor to the right
Just noticed, between the start and the 'A' was a tab character. After removing the tab, the display was fine. Seems to be related to having tab characters in the file.
Ah, the problem with tabs is reported as issue #115638. Once I get to know more about the problem, I'll close this one as duplicate (if it is duplicate). The other issues should be already fixed, please try the most recent builds. Thanks.
Tabs should already be painted ok. *** This issue has been marked as a duplicate of 115638 ***