GNOME Bugzilla – Bug 745016
Mouse release after mouse click can already activate menu entries
Last modified: 2018-05-02 16:25:34 UTC
I'm noticing that if I'm making a right mouse click to open a context menu the next mouse release can already activate an entry. This can lead to race conditions for the user if the mouse is moved too fast. I have opened a bug report before this ticket for Firefox and got the hint that this is maybe an issue with GTK+: https://bugzilla.mozilla.org/show_bug.cgi?id=1135365 Maybe the same applies for mouse releases with the left mouse button as I have opened a while ago a similar issue about this for LXDE: http://sourceforge.net/p/lxde/feature-requests/194/
We are displacing the menus to avoid accidental clicking, see bug 591258
Displacing will still let a race condition open to these menus (for example I'm often moving the mouse a moderate distance (low double-digit range) between a mouse click and a mouse release). And what about fixed menus like the start menu and popups of menu bar entries? Is the activating of menu entries with a left/right mouse release intended? If so would it not make sense to disable at least registering the first mouse release for any popup?
(In reply to sworddragon2 from comment #2) > Is the activating of menu entries with a left/right mouse release intended? > If so would it not make sense to disable at least registering the first > mouse release for any popup? no, I don't think it does. Doing a context-menu selection as single click-drag-release action is not something that we can just stop supporting.
Would an option be a possibility?
*** This bug has been marked as a duplicate of bug 675942 ***
I don't think this report is a duplicate as the other report claims that menus are spawning directly under the position of the pointing device while this report has figured out that the behavior reported here is intended and thus evolved into a feature request (which wouldn't get solved if bug #675942 would be fixed). Correct me if I'm missing something.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/533.