Bug 152977 - REGRESSION(r190717): [GTK] Popup menus stop working after being dismissed without selecting an item
Summary: REGRESSION(r190717): [GTK] Popup menus stop working after being dismissed wit...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, Regression
Depends on:
Blocks:
 
Reported: 2016-01-11 10:01 PST by Carlos Garcia Campos
Modified: 2016-01-11 23:16 PST (History)
1 user (show)

See Also:


Attachments
Patch (6.08 KB, patch)
2016-01-11 10:03 PST, Carlos Garcia Campos
mcatanzaro: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 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.
Comment 1 Carlos Garcia Campos 2016-01-11 10:03:53 PST
Created attachment 268693 [details]
Patch
Comment 2 Carlos Garcia Campos 2016-01-11 23:16:26 PST
Committed r194886: <http://trac.webkit.org/changeset/194886>