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.
This is on OSX, with a trunk build fresh as of 3 hours ago (which means it includes the recent fix, 1.21, to DrawEngineLineView). To reproduce: To reproduce: (1) Create a new Ruby project (2) Hit Command-A to select all text (3) Hit Delete. The file is now empty with a blinking caret in the top left corner. (4) Type "abc" (I was originally typing dc to reproduce your bug, but any text will do). The caret moves over three letters, but the letters are invisible. Shift-arrowing over the text to select it also doesn't expose it. Perhaps related to all the performance optimizations in viewToModel, movelToView and DrawEngineLineView yesterday? (I was trying to reproduce issue 114928 when I ran into this)
I'll have a look, thanks for reporting this Tor.
*** Issue 114979 has been marked as a duplicate of this issue. ***
*** Issue 115008 has been marked as a duplicate of this issue. ***
I'm seeing various other strange painting behavior too - not just in Ruby. As I was editing Java yesterday, I kept getting surprised by delayed screen repaints. If I inserted a new line, it would take a full second before the screen contents below the caret would scroll down. Also, the "expand selection" feature was broken and it looks like there's a caret updating notification that is now firing asynchronously? More seriously, it would sometimes tell me that I was at the bottom of the document (the scrollbar would say the same thing) yet I -knew- I had a lot more file contents. Scrolling back up and then back down cleared it. This is making the editor seem really broken - I think we're borderline P1 here.
Upgrading to P1. Here's a post on dev@ruby: Subject: This morning's builds (3749, 3754) editor nonfunctional? I've tried on both 3749 and 3754 and I'm seeing the same in both. Start typing, and pretty soon the it looks like the editor switches to invisible white text against a white background. Tried wiping out my user directory, no change. Selecting the text gives strange results, but it's clear that the text is actually there. Here's what I mean: http://s3.amazonaws.com/world_readable/badeditor/badeditor.htm
*** Issue 115102 has been marked as a duplicate of this issue. ***
*** Issue 115072 has been marked as a duplicate of this issue. ***
Should be fixed now. I'm sorry for any inconveniences. Checking in DrawEngineLineView.java; /cvs/editor/libsrc/org/netbeans/editor/DrawEngineLineView.java,v <-- DrawEngineLineView.java new revision: 1.22; previous revision: 1.21 done
Verified. --- Product Version: NetBeans IDE Dev (Build 070910) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.12-1.1390_FC4smp running on i386; UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
*** Issue 115249 has been marked as a duplicate of this issue. ***
*** Issue 115253 has been marked as a duplicate of this issue. ***
Seen the same behaviour in 200709101200's SQL editor window. Is this related to that issue or a whole new / different thing?
Please try builds from 11th Sep or later. I think that the one you tried did not have the fix. It was from 1200 and my fix went in at 1250 (aprox).
*** Issue 115239 has been marked as a duplicate of this issue. ***
*** Issue 115482 has been marked as a duplicate of this issue. ***
*** Issue 115510 has been marked as a duplicate of this issue. ***
*** Issue 115661 has been marked as a duplicate of this issue. ***
*** Issue 115636 has been marked as a duplicate of this issue. ***