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 - Checkbox editor in Outline View is misaligned if in semi-checked state
Summary: Checkbox editor in Outline View is misaligned if in semi-checked state
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 14:20 UTC by rmichalsky
Modified: 2014-03-05 18:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (23.78 KB, image/png)
2009-04-20 14:22 UTC, rmichalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
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).