GNOME Bugzilla – Bug 745929
menu items are not highlighted if the mouse button is held down while entering the menu
Last modified: 2018-05-02 16:26:53 UTC
If the user clicks the left mouse button on a menu in the menubar, and *holds the button pressed* while moving the mouse pointer into the popup menu, the menu items will not be highlighted. Releasing the mouse button while hovering over a menu item will activate it correctly. This problem does not occur if the user presses and *releases* the mouse button before entering the popup menu.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 745923 ***
Hi, John. I don't think this is a duplicate of bug 745923. I applied the workaround that disables CSD on Quartz which resolves bug 745923 but not this one. I have not yet found a workaround that resolves this one. Reopening so you can take another look.
OK. BTW, there's another action besides releasing the mouse button that enables the popup: Move the pointer out and back in. Screwed up focus is an old problem in Gtk-Quartz, so this may indeed not be a CSD problem.
Never mind that about moving the pointer out and in: That works for context menus but not menubar menus. It's a timing issue of some sort. If I add g_printf("Menu %s motion.\n", gtk_menu_get_title(GTK_MENU(widget))); in gtk_menu_motion_notify() it works as expected.
This bug still exists in 3.22.7.
-- 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/538.