Bug 6427

Summary: [Contributions] widgets: Toolbar drop-down items in view plugins inconsistent with other widgets
Product: [Eclipse Project] Platform Reporter: Patrick Dubroy <Patrick_Dubroy>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: simon_arsenault
Version: 2.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Patrick Dubroy CLA 2001-11-29 11:04:20 EST
1. Open the packages view.
2. Click on the toolbar arrow button, whose menu contains the 
items "Filters...", "Show Referenced Libraries", etc.
3. Now press and hold the left mouse button on the same widget. The menu does 
not come up until the mouse is released.

This behaviour is inconsistent with other widgets on both Windows and Motif. 
The menu should come up as soon as the button is pressed, BEFORE it is 
released. We can probably just hook SWT.MouseDown instead of SWT.Selection on 
this particular ToolItem.
Comment 1 Ryan Cooper CLA 2002-01-23 16:00:38 EST
for PullDownButton items, the addSelectionListener method of the ToolItem class 
in org.eclipse.swt.widgets dchooses which eventTypes the listener will be 
notified for. It uses Selection and DefaultSelection, but not MouseDown. If 
this is to be added to the listener, it seems like it should be done within 
this method.

Should this bug be reassigned to the SWT team?
Comment 2 Simon Arsenault CLA 2002-09-03 16:53:15 EDT
Little more complicated than just hooking up the correct listener...but not 
impossible to do. Maybe someone from the community will be interested in 
helping out with this.
Comment 3 Michael Van Meekeren CLA 2006-04-21 13:56:48 EDT
Moving Dougs bugs
Comment 4 Paul Webster CLA 2007-04-05 19:01:06 EDT
Assigning to component owner
PW
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:12:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.