Comment 226 for bug 187313

Revision history for this message
André Pirard (a.pirard) wrote : Re: [Bug 187313] Re: [MASTER] right click (with button release) might activate random popup-menu-item

On 2009-01-29 18:25, Jean-Philippe Fleury wrote :
> For me, Mouse Gestures helps a lot to reduce the bug, but it's not a
> perfect workaround, because I still have few random popup-menu-items,
> even with this extension enabled.
That's very strange. It has been agreed that the problem stems from the
fact that the right-click event is taken on mouse down (instead of mouse
up as usually) and that mouse up is treated as a possible left click of
an albeit invisible context menu entry.
Some criticized the same behavior on the desktop too (in Nautilus).
If such sorts of inconsistent mouse up actions were banned, it would be
things solved.

If you watch right clicking with Mouse Gestures, you'll see exactly
that. Keep mouse down as long as you want, the right-click will only be
effective when you release the button. Where could a stray left click
come from, then?

Not denying what you say, but thinking it over which is the good way to
approach the solution. Do you sometimes click-a-di-click (multiple
clicks)? Shouldn't, should wait. In contrast with other systems, Linux
always remembers clicks and that may be over 10 seconds of an overload
later (just met a few doubtful exceptions in 2 years).