[Bug 334550] New: gnome-main-menu fails to open on very first click
https://bugzilla.novell.com/show_bug.cgi?id=334550 Summary: gnome-main-menu fails to open on very first click Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: GNOME AssignedTo: jimmyk@novell.com ReportedBy: jpr@novell.com QAContact: qa@suse.de Found By: --- gnome-main-menu fails to open on very first click. I'm sure we fixed this for SP1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334550
Jim Krehl
https://bugzilla.novell.com/show_bug.cgi?id=334550#c1
--- Comment #1 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=334550#c2
Jim Krehl
https://bugzilla.novell.com/show_bug.cgi?id=334550#c3
Magnus Boman
https://bugzilla.novell.com/show_bug.cgi?id=334550#c4
--- Comment #4 from Jim Krehl
Jim, If you keep clicking on Computer (with a delay less than a second in between), it will eventually either stop closing Slab, or stop opening Slab... I *think* that ties into this bug (Happens even after updating with your new packages).
That's because multi-clicks are debounced. It's always worked this way. If this is bad behavior, please file a separate bug. Thanks! jim -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334550#c5
--- Comment #5 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=334550#c6
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=334550#c7
--- Comment #7 from Jim Krehl
https://bugzilla.novell.com/show_bug.cgi?id=334550
Jim Krehl
https://bugzilla.novell.com/show_bug.cgi?id=334550#c8
Federico Mena Quintero
Here's a proposed patch for Federico to review.
This makes the first click work, and it debounces the menu. For that, it's good to go. Some comments for the future: * The slab window is a GTK_WINDOW_POPUP as per the Glade file, so the window will be OverrideRedirect (i.e. not managed by the window manager). Thus, gtk_window_present_with_time() doesn't really have any special effect on it. You could simply use gtk_widget_show() for it. * I still think this needs to be done at the level of "button_press_event", not at the level of the "clicked" signal. For example, right now you can do this: 1. Click on the main-menu to open it. 2. Start clicking multiple times rapidly on the Computer button. The menu will hide, but then the Computer button will go up and down repeatedly with seemingly no action. A better implementation of debouncing would hide the main-menu, but prevent the actual visible press-and-release from happening. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=334550#c9
Jim Krehl
https://bugzilla.novell.com/show_bug.cgi?id=334550
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=334550
Magnus Boman
https://bugzilla.novell.com/show_bug.cgi?id=334550
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=334550
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=334550#c16
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=334550
Scott Reeves
https://bugzilla.novell.com/show_bug.cgi?id=334550
User sreeves@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=334550#c17
Scott Reeves
https://bugzilla.novell.com/show_bug.cgi?id=334550
User james@usr-local-bin.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=334550#c18
James Ogley
participants (1)
-
bugzilla_noreply@novell.com