Bug 44706 - Cannot dismiss icon drop down menu like a normal menu
Summary: Cannot dismiss icon drop down menu like a normal menu
Status: RESOLVED DUPLICATE of bug 193318
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 44956 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-11 19:04 EDT by Gary Gregory CLA
Modified: 2007-06-22 16:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Gregory CLA 2003-10-11 19:04:08 EDT
3.0.m4.
In a normal drop down menu, when you click on "Help" for example, the menu drops
down. If you click in the same place, the menu disapears (or "folds up").

If you click on a drop down menu indicated by an icon, either the down arrow or
an icon with a down arrow, the menu drop down on the 1st click but does not fold
up on the 2nd click. The same menu pops up again. One must click outstide of the
menu in some "neutral zone" to dismiss the menu and not do another unintended op.

This "sticky" menu makes it hard to just look around. Thanks.
Comment 1 Chris McLaren CLA 2003-10-15 15:57:50 EDT
i use a mac, and the behavior seems consistent. moving to swt to see if this is a plaform issue..
Comment 2 Grant Gayed CLA 2003-10-16 17:53:10 EDT
*** Bug 44956 has been marked as a duplicate of this bug. ***
Comment 3 Grant Gayed CLA 2003-10-16 17:54:35 EDT
This happens on win32 and motif, but behaves fine on gtk and mac.

Though I haven't looked at the ui-level code that displays the drop-down menu, 
I suspect that they're hiding the dropdown on both Button Select and Menu 
Hide.  win32 and motif fire both of these on the second user click, so the menu 
is hidden on the Menu Hide but then immediately re-shown on the subsequent 
selection.  Gtk and Mac only fire the Menu Hide, so this behaves fine since 
there isn't a follow-up selection event sent.

This inconsistency should be resolved.  The underlying events are:
- win32 and motif: Menu Hide + Button Down + Button Up
- gtk: Menu Hide only
- mac: Menu Hide + Button Up (<-- Button Up doesn't trigger Selection)
Comment 4 Grant Gayed CLA 2007-06-22 16:48:49 EDT
Work is underway to make the dropdown/menu interaction native, which should make this behave as expected on all platforms.


*** This bug has been marked as a duplicate of bug 193318 ***