Comment 108 for bug 187313

Revision history for this message
Joakim Asplund (megajocke) wrote : Re: [MASTER] right click (with button release) might activate popup-menu-item

The problem seems to be that the popup menu is displayed on button-down, not button-up like on Windows. If the mouse is being moved just a little bit at the same time it might be over an item when the button is released. This could either be solved by changing the popup to appear on button release OR introducing a short delay before button releases can activate menu items.

Using a delay has the advantage of still allowing single click use of the menu. (press to show, release to select)

This might be a problem in other applications too - for example the Nautilus file manager shows context menus on mouse down. Instead of changing every Gnome application to show menus on mouse-up instead maybe a delay should be incorporated into the toolkit - mouse up in the first XXmS of a menu being shown is not counted as selection.

Or has something already been done to fix this?