Bug 5088 - Menus should come up on Mouse Down
Summary: Menus should come up on Mouse Down
Status: RESOLVED DUPLICATE of bug 193318
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-18 16:25 EDT by Veronika Irvine CLA
Modified: 2007-06-20 10:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Veronika Irvine CLA 2001-10-18 16:25:15 EDT
Eclipse 200011011
Linux

The menu that pops up when you click on the arrow button at the right of the 
toolbar in any View should behave like all other menus.

On Linux, menus come up on Mouse Down not on MouseUp.
Comment 1 Veronika Irvine CLA 2001-10-18 17:06:50 EDT
This also applies to the Running man, Debug items and anything else that has a 
menu attached to a toolitem.

See Netscape.  The menu comes up on mouse down for Back etc.
Comment 2 Kevin Haaland CLA 2002-05-01 09:36:32 EDT
This is a reasonable idea, products build using SWT should honour the expected 
platform behavior. What API are you suggesting clients use?
Comment 3 Markus Keller CLA 2002-07-09 10:02:37 EDT
Note that this is not a Linux-only problem. Eclipse 2.0, build 200206271827, 
behaves inconsistently under Windows 2000 as well. View menus are the only 
menus which don't drop down on MouseDown. (History in Search view is an 
exception, because that's not a real view menu).
Comment 4 Steve Northover CLA 2003-01-03 12:27:37 EST
The behavior of the View menus seems to be programmed by Eclipse to look for 
specific mouse up, move and down events and show menus based on these.  For 
example, on Windows 98, you need to click on the View menu icon (the icon to 
the left of the view title), hold the mouse and move slightly to get the view 
menu.  On Motif, it pops up right away.

In any case, this an old PR that is still wrong in SWT on Motif.  The drop down 
menu in a tool item should show up on mouse down.
Comment 5 Billy Biggs CLA 2005-02-13 00:09:09 EST
Similarly on GTK+, it should appear on mouse down.
Comment 6 Steve Northover CLA 2007-06-20 09:14:24 EDT

*** This bug has been marked as a duplicate of bug 139318 ***
Comment 7 Steve Northover CLA 2007-06-20 10:01:17 EDT
Oops. wrong dup.
Comment 8 Steve Northover CLA 2007-06-20 10:01:29 EDT

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