GNOME Bugzilla – Bug 141169
Menu timing
Last modified: 2011-02-04 16:16:32 UTC
This patch fixes two menu timing problemss: 1: Right click on the desktop, then within .5 seconds move into the top menu item and release. The item does not get selected, which it should. This is especially annoying with combo menus. 2: Click on a menu bar and hold for .5 seconds, then release. The menu stays up, but it should pop down, like right click menus do.
Created attachment 27127 [details] [review] The patch
Wed Jun 2 01:56:02 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to better handle the "click" case. bug Better fix for #141169. Wed Jun 2 00:39:58 2004 Soeren Sandmann <sandmann@daimi.au.dk> Bug #141169. * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus only stay up if you release within 500 milliseconds. (gtk_menu_shell_button_press): Set the activate_time to the event time when a button is pressed. * gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify): Interprete button releases as activate when we have seen both an enter an a motion event.