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 you run a Search in the help viewer and open one of the results, the words you search for a black on dark blue, unreadable.
Created attachment 12244 [details] screenshot of help viewer with bad shading
I can look into it, but I'm suspecting it's a JavaHelp problem - they will need to correctly detect what color to use for the foreground, not just the background. Maybe some of this can be specified in the CSS? I wouldn't know where to look, but you might want to check it.
Appears to affect classic as well. I'll try to find out if we can do something about it.
I believe this is a JDK problem. Hopefully the fix of bug 4761990 will solve this. Chris, have you verified that it does? See the following link for a workaround (I don't know if it would work in NB) - http://www.javadesktop.org/forums/thread.jspa?forumID=10&threadID=451
We could try doing something for a workaround - but it will end up changing the selection color for every editor pane in the ide (probably will affect selection in custom string editors, text boxes, etc.). Dafe, passing to you, since you've taken over our custom UI settings for different look and feels, and I don't know where you're putting them. To summarize, there's a JavaHelp bug that on win classic, search results are highlighted dark blue with black text. The workaround Patrick mentions is available is: UIManager.put("EditorPane.selectionBackground",Color.lightGray); Up to you, or pass it back to me if you think I should fix it, but let me know where my stuff from NbTheme has gone/is going.
I have verified that it is still broken in 1.4.2-b28 (I can attach screen shots if desired). 4761990 says it is verified in 1.4.2_02. Here is the contents of my config file -J-Xms24m -J-Xmx96m -J-Dnetbeans.logger.console=true -J-ea -jdkhome C:\j2sdk1.4.2 -J-DPlastic.tabStyle=Metal -J-DPlastic.defaultTheme=DesertBluer -ui com.jgoodies.plaf.plastic.PlasticXPLookAndFeel
What is the workaround for this. As most users use the search engine to find help, and as this problem makes the search engine unusable, is there a way for the users to fix this? I am using the latest 3.6 dev build with the default windows 2000 l&f and this problem happens for me.
Workaround is to globally change the highlight color for all JTextPanes by putting a different color into UIDefaults. We'll do this for 3.6.
Fixed in trunk. It is now a random pastel blue. Checking in WindowsLFCustoms.java; /cvs/core/windows/src/org/netbeans/core/windows/view/ui/plaf/WindowsLF Customs.ja va,v <-- WindowsLFCustoms.java new revision: 1.6; previous revision: 1.5 done
removing RELNOTE keyword
verified in NB4.1(200501241900)