Bug 152977

Summary: REGRESSION(r190717): [GTK] Popup menus stop working after being dismissed without selecting an item
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk, Regression
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

Carlos Garcia Campos
Reported 2016-01-11 10:01:28 PST
This happens after r190717 when you open a popup menu and without selecting any option it's dismissed (press ESC or click somewhere else). This is because I removed the code to track when the menu is unmapped, thinking that it was no longer necessary. But we need to send the DidChangeSelectedIndexForActivePopupMenu to the WebProcess with -1 as index to keep the web process in sync.
Attachments
Patch (6.08 KB, patch)
2016-01-11 10:03 PST, Carlos Garcia Campos
mcatanzaro: review+
Carlos Garcia Campos
Comment 1 2016-01-11 10:03:53 PST
Carlos Garcia Campos
Comment 2 2016-01-11 23:16:26 PST
Note You need to log in before you can comment on or make changes to this bug.