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 163121

Summary: Checkbox editor in Outline View is misaligned if in semi-checked state
Product: platform Reporter: rmichalsky <rmichalsky>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description rmichalsky 2009-04-20 14:20:45 UTC
There are actually 3 possible states of checkbox - checked, unchecked and semi-checked (values Boolean.TRUE,
Boolean.FALSE and null). The semi-checked value is used e.g. in NB Module Suite project customizer, where it denotes
clusters with excluded modules (see screenshot). Such checkbox is not aligned with checked/unchecked ones and hops left
and right when clicked :).
Comment 1 rmichalsky 2009-04-20 14:22:53 UTC
Created attachment 80522 [details]
screenshot
Comment 2 Martin Entlicher 2009-08-06 14:39:42 UTC
Reproduced, looks ugly.
Comment 3 rkeen 2014-03-05 18:59:59 UTC
This appears to be caused by the special handling for Boolean3WayEditor in org.openide.explorer.propertysheet.RendererFactory.delegatedPaint (see http://hg.netbeans.org/releases/file/b2429dbb1ff8/openide.explorer/src/org/openide/explorer/propertysheet/RendererFactory.java#l900).