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.
Summary: | [Navigator|Call Hierachy|Find Usages] Selected item isn't readable because of low contrast - black text on blue background | ||
---|---|---|---|
Product: | platform | Reporter: | markiewb |
Component: | Nodes | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | everflux, JPESKA, ovrabec, tzezula, uireviews |
Priority: | P3 | Keywords: | A11Y |
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Shows the issue
Shows the issue in other views |
On Mac the selected text is all white, the Html string is rendered by HtmlRenderer and the colour is changed depending on the contrast. This is the reason why it's different on Win & Mac. However the java.navigation/org.netbeans.modules.java.navigation.ElementScanningTask has hardcoded type color (TYPE_COLOR = "#707070"). If there is a safer colour in UIDefaults feel free to reassign back. When a tree or list item is selected the whole text should be painted with the default foreground color (i.e. white on Windows or Mac) instead of any custom color defined in item's HTML text. The tree model should strip all HTML color tags when rendering a selected item. Created attachment 136002 [details]
Shows the issue in other views
FYI: The issue is also present in
* "call hierarchy" and
* "find usages"
* "search results"
FYI: also here https://netbeans.org/bugzilla/show_bug.cgi?id=229561 FYI: This issue also affects the Project View. Enable "versioning label decorator" and select a modified project. The versioning status information is black on blue. @Jan: Any news here? Any UI review? IMHO this is an important topic. The proposed solution is https://netbeans.org/bugzilla/show_bug.cgi?id=230699#c2 *** Bug 233076 has been marked as a duplicate of this bug. *** reassigning to Standa. core-main ca2bded5ec62 Integrated into 'main-silver', will be available in build *201308212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ca2bded5ec62 User: S. Aubrecht <saubrecht@netbeans.org> Log: #230699 - use default foreground when a tree or list item is selected Verified in 201309020001. Tried several views like project view, java navigator view, files view |
Created attachment 135297 [details] Shows the issue ACTUAL: black text on blue background for selected items can not/hardly be read - see screenshot EXPECTED: eye-friendly colors/high contrast --- Product Version: NetBeans IDE Dev (Build 201305262300) Updates: Updates available Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11