gtk+ 3.22.26 [patch]: Hanging/stuck menus on macOS
Submitted by Christian Schoenebeck
Assigned to gtk-quartz maintainers
Link to original bug (#791174)
Description
Created attachment 364863 gtk3 event handling fix for Quartz backend (macOS)
There is a severe bug in the gtk+ 3 Quartz backend which causes menus on Mac to stop processing any mouse events.
So when that happens, i.e. menu items are no more highlighted when moving the mouse pointer over them, nor do the menu items fire when being clicked, nor does i.e. a submenu close when moving the pointer over another toplevel menu node. The respective menu simply remains stuck at this point. This applies to application menus as well as to all other ones like popup menus for instance. Since this is a general problem with the Quartz event handling, it might even effect the behavior of other widgets as well.
The attached patch against gtk+ 3.22.26 fixes this event handling issue for macOS.
For more information about this issue, please refer to the following discussion:
https://mail.gnome.org/archives/gtk-devel-list/2017-November/msg00010.html
Please note that without addressing this issue at all, IMHO I find Gtk+3 not being usable on Mac at all. It seems this issue was introduced very early between the Gtk2 and Gtk3 release points. So it already exists for a very long time now.
Patch 364863, "gtk3 event handling fix for Quartz backend (macOS)":
gtk3-quartz-menu-bug.patch
Version: 3.22.x