GNOME Bugzilla – Bug 696102
Message Tray context menu has some weird behavior
Last modified: 2013-03-18 21:40:20 UTC
Steps: 1. Open the message tray 2. Open the context menu by right-clicking on the tray 3. Drop the tray by clicking outside 4. Open the tray again 5. Try to open the context menu by right-clicking Expected: The menu pops up on release. Actual: It doesn't happen immediately. It shows up after long-press. This is because of a rogue grab helper feature -- ignoreRelease is designed to make sure that the next actor doesn't see the release event that comes from the press event that dropped the grab, but it can get messed up if we drop the grab, letting it never see the release event. Patch that fixes the issue attached.
Created attachment 239195 [details] [review] grabHelper: Ensure we reset ignoreRelease when we drop our event handler Since we drop our event handler, we won't see ever the release event from the button press, so unset the flag so it doesn't muck with the next time somebody takes a grab.
Review of attachment 239195 [details] [review]: I guess it makes sense.
Attachment 239195 [details] pushed as aec0e75 - grabHelper: Ensure we reset ignoreRelease when we drop our event handler