I am using the git master panel (revision 6c2ef12). The items in launcher submenus launch on menu item button press. To reproduce why this is a problem: 1. Open the launcher submenu by moving the cursor to the launcher arrow button and press mouse button 1. 2. Without releasing mouse button 1, move to the submenu item you want to launch. 3. Release mouse button 1. Actual Results: The item does not launch. Expected Results: The item should launch. Ideally, the menu items should launch on menu item "activate" signal. That way, one can also use the keyboard to launch items.
Created attachment 3004 Proposed patch The attached patch connects to the menu item "activate" signal instead of the "button-press-event" signal. It uses gtk_get_current_event () in order to still support middle click launch with clipboard text.
Thanks for the patch, committed in 320b58d.
From commit: > + event_time = event != NULL ? gdk_event_get_time (event) : GDK_CURRENT_TIME; The above seems a bit redundant to me; gdk_event_get_time should return GDK_CURRENT_TIME anyway if event is NULL. guint32 gdk_event_get_time (const GdkEvent *event); Returns the time stamp from event, if there is one; otherwise returns GDK_CURRENT_TIME. If event is NULL, returns GDK_CURRENT_TIME. http://library.gnome.org/devel/gdk/stable/gdk-Events.html#gdk-event-get-time
Yeah your right, I assumed it did not accept NULL, fix in git.