After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141169 - Menu timing
Menu timing
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-04-26 21:48 UTC by Soren Sandmann Pedersen
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The patch (5.17 KB, patch)
2004-04-26 21:49 UTC, Soren Sandmann Pedersen
none Details | Review

Description Soren Sandmann Pedersen 2004-04-26 21:48:12 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.
Comment 1 Soren Sandmann Pedersen 2004-04-26 21:49:36 UTC
Created attachment 27127 [details] [review]
The patch
Comment 2 Soren Sandmann Pedersen 2004-06-02 23:18:41 UTC
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.