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.
When i run some ruby code that generates output, it nicely appears in the output window. When i then try to select this code, i can't see what i have selected. The selection does work though, since when i click 'copy' it copies the selected zone to the clipboard. version: 200806040005
Yes, this also happens to me from time to time. Seems like regression.
Just reproduced with: Product Version: NetBeans IDE Dev (Build 080616) Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04 System: Linux version 2.6.24-18-generic running on i386; UTF-8; en_US (nb)
Is it in plain or wrapped mode? Any hints how to reproduce?
reproduce: # test.rb puts "something very long so it doesn't fit in the window and wrapping is needed, something very long so it doesn't fit in the window and wrapping is needed, something very long so it doesn't fit in the window and wrapping is needed, something very long so it doesn't fit in the window and wrapping is needed" => run test.rb => switch off 'wrap text' in the output window => try to select the text => bingo! it's selected (try copy) but not visible
I still cannot reproduce, I tried to output your long line in both plain/wrapped mode, switch mode back and forth but the selection worked for me all the time. It happens to you only if you switch from wrapped to plain and try select something?
no it gives the error both for switching and having the wrap-text off before generating the output
Now happens to me, with lines which fits into the output windows. It happens to me only in non-wrapped mode. Only with JDK 5, with JDK 6 cannot reproduce so far.
But now, with the same output, same JDK 5, I can't reproduce. So there is some random element so far.
Um. And now I've reproduced with JDK 6 in another NetBeans instance. Just pressing Ctrl-R, trying to select, Ctrl-R trying to select, and from time to time I reproduce. So non-JDK sensitive. Reproduce on both 5 and 6.
Only what is valid, that it is happening only in non-wrapped mode. In wrapped-mode, selection always works fine for me.
Can you check please if the problem still exists after integration of 7a28a9d992a9?
cool! can't reproduce anymore with 20080630 . Thanks!
Thanks for verification...closing as fixed (by 7a28a9d992a9)
I can still reproduce, still the same (own fresh build). Moreover in Wrapped Mode there is a new strange selection bug that lines are jumping up and down when doing selection with mouse. Hard to describe. I can show you this new one in the office directly (should come some day this week).
Text corruption in wrapped mode should be fixed (#138392). However, I am not able to reproduce selection error (it would be nice if you could show me how to reproduce).
Cau Tomasi. Still reproducible as I've shown you yesterday in the office, with today's fresh build.
*** Issue 146123 has been marked as a duplicate of this issue. ***
Try leaving NetBeans open with GlassFish started for a very long period of time such as 12 hours. Then, try to highlight in the code window. Simply starting up NetBeans, then GlassFish, then trying to highlight in the output window does not reproduce the problem for me. I don't know what triggers it but I know after some period of time it starts to happen. I don't know if it's something I'm doing in the IDE or just being open for a long time.
FYI this has also happened in the Maven2 output window for me
I've had NetBeans 6.5 open since I entered my last comment. Highlighting in the output windows worked fine. I've been doing a bunch of maven2 builds/run all morning. Just now I decided to check if the problem is back yet. In the Maven2 output window I could highlight. In the GlassFish output window I could not highlight. When I switched back to the Maven2 output window I could no longer highlight.
I'm running the 09/05 daily under Ubuntu 8.04 (with GTK L&F) and it happened a couple times today. The only new piece of information I have is that I just have a plain J2SE distribution - i.e. no Ruby, Glassfish, etc. Both times, I was just debugging a standard J2SE application and was trying to highlight a region to copy. Instead of highlighting th region, it simple moved the cursor to the end of each line I was sweeping out. On the NB users mailing list someone suggested turning on line-wrap. Doing that let me at least do the copy. I'm running JDK 1.6.0_10.
*** Issue 142115 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/01350cf95c99 User: Tomas Holy <t_h@netbeans.org> Log: #137327: selection invisible in output
01350cf95c99
*** Issue 147360 has been marked as a duplicate of this issue. ***