Summary: | REGRESSION(r147548): Broken comboboxes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Critical | CC: | cgarcia, csaavedra, gustavo, mrobinson, svillar | ||||
Priority: | P2 | Keywords: | Gtk | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Sergio Villar Senin
2013-05-01 07:52:40 PDT
I don't think this is specific to GTK. The problem is that r147548 made the popup to be closed when a blur event is received. Right before showing the popup the input element is focused, so that after the the popup is shown the focus event is emitted and the event handler is called again hiding the popup. I guess this doesn't happen in other platforms because they run a nested mainloop for popups. A possible solution would be to check that the current element has actually lost the focus before hiding the popup. Created attachment 201695 [details]
Patch
Committed r150102: <http://trac.webkit.org/changeset/150102> |