Community
Participate
Working Groups
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.
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.
This is a reasonable idea, products build using SWT should honour the expected platform behavior. What API are you suggesting clients use?
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).
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.
Similarly on GTK+, it should appear on mouse down.
*** This bug has been marked as a duplicate of bug 139318 ***
Oops. wrong dup.
*** This bug has been marked as a duplicate of bug 193318 ***