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.

Bug 233210

Summary: [dark] [nimbus] Plain OutlineView doesn't properly render cells in uneven rows
Product: platform Reporter: markiewb
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue

Description markiewb 2013-07-22 18:52:39 UTC
Created attachment 137585 [details]
Shows the issue

See screenshot. It is a simple outline view based on https://blogs.oracle.com/geertjan/entry/view_code_templates_while_coding viewed with Dark Nimbus.

Several issues:
* the background color of the uneven row for the second column isn't set
* unfocused selected row does not use the system color (ACTUAL gray)

Reproduction: Install http://plugins.netbeans.org/plugin/49660/netbeans-cheat-sheets and switch to Dark Nimbus.

The issue can also reproduced on NB74beta. It works in Dark Metal.

P2 because OutlineView is such an important and even basic widget in NB RCP.

----
Product Version: NetBeans IDE Dev (Build 201307212300)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Martin Entlicher 2013-07-23 12:11:17 UTC
Reproduced.
Comment 2 Martin Entlicher 2013-07-23 14:00:21 UTC
The check on the background color being instanceof UIResource, looks like a terrible hack to me. :-(
Comment 3 Martin Entlicher 2013-07-23 16:39:30 UTC
The background color is fixed by changeset:   259669:d13de90cb854
http://hg.netbeans.org/core-main/rev/d13de90cb854

I've submitted issue #233259 for the unfocused selected rows.
Comment 4 Quality Engineering 2013-07-25 02:28:25 UTC
Integrated into 'main-silver', will be available in build *201307242300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d13de90cb854
User: mentlicher@netbeans.org
Log: #233210: Assure that the correct background color is used.
Comment 5 markiewb 2013-07-28 14:38:18 UTC
Verified in 201307262300