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 bug is fallout from issue 30972 and is visible in the NetBeans IDE 4.1. If I switch the system colors on Windows, a new UI class is created (installUI is called). However, the original extComponent is still being displayed (EditorUI's createExtComponent on the new UI instance is never called) and thus line numbers disappear. To reproduce: Start NetBeans 4.1 on Windows XP Make sure that Line Numbers are being displayed in a file (under View menu) Go to Windows Display properties and change Color Scheme Note that line numbers have now disappeared in the file that was visible at the time of the change Bring up the Edit menu-- it leaves a large grey block that is never repainted Try turning on and off line numbers-- nothing happens.
Reproduced. Not sure what would be the best fix in this case but either resurrect the original gutter components or remove them and create new ones. Marking for future preliminarily.
*** Issue 70232 has been marked as a duplicate of this issue. ***
I could not reproduce in latest build of 6.0 - marking as FIXED. Reporter, could you verify, please?
This is still broken in the version of 6.0 Beta that I have: Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709141330) Do I need to download something else? I reproduced it by having a file open in the Editor with line numbers on and then changing the Color Scheme via Windows' Display options.
I cannot reproduce. Probably specific to JDK or something.
I can still reproduce this with Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\WINNT\Profiles\croberts\.netbeans\6.0 To reproduce, follow these steps: Make sure that Line Numbers are being displayed in a file (under View menu) Go to Windows Display properties and change Color Scheme Note that line numbers have now disappeared in the file that was visible at the time of the change Try turning on and off line numbers-- nothing happens.
It seems to work on Ubuntu/Gnome with Metal and GTK l&f. But I'm not sure changing color scheme on Gnome does the same as on Windows. Anyway, could you please try with different look and feel, eg. try passing '--laf javax.swing.plaf.metal.MetalLookAndFeel' as a commandline parameter when starting Netbeans. Thanks
I could not reproduce the problem when I passed in '--laf javax.swing.plaf.metal.MetalLookAndFeel' as a commandline parameter when starting Netbeans.
Thanks! So it seems to be in the Windows l&f.
*** Issue 131788 has been marked as a duplicate of this issue. ***
Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next".
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Is there a reason this won't be fixed? We are still receiving customer calls about this issue. It isn't just the case where you change your Windows display properties, but also when you're using programs like WebEx, that this becomes a problem.
Please feel free to reopen this report if you think that this is an important problem that has to be fixed.