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 103307

Summary: better handling of popup menu in DropDownButtons
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick, vstejskal
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 102614    

Description Stanislav Aubrecht 2007-05-04 12:09:16 UTC
Clicking on the arrow when the menu is already open should close it.
Comment 1 Stanislav Aubrecht 2007-05-11 15:52:07 UTC
it seems vstejskal already fixed this

http://openide.netbeans.org/source/browse/openide/awt/src/org/openide/awt/DropDownButton.java?r1=1.1&r2=1.2
Comment 2 Vitezslav Stejskal 2007-05-22 03:52:12 UTC
Yes, sorry, I didn't know about this issue. I also changed the way how the arrow
is added to the button's icon, the motivation was to make the default
implementation for greying out icons in disabled buttons work. This default
implementation applies GrayFilter on Image, hence it only works for ImageIcons.
Comment 3 Jesse Glick 2007-05-22 17:34:09 UTC
Regarding ImageIcon, I filed issue #104530.
Comment 4 Vitezslav Stejskal 2007-05-24 07:32:31 UTC
The same for DropDownToggleButton.

Checking in DropDownToggleButton.java;
/cvs/openide/awt/src/org/openide/awt/DropDownToggleButton.java,v  <-- 
DropDownToggleButton.java
new revision: 1.3; previous revision: 1.2
done