Summary: | Pressing Ctrl+W when viewing a full-page PDF destroys the WKView but doesn't close its parent window | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, jhoneycutt, sam | ||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
URL: | http://www.irs.gov/pub/irs-pdf/fw4.pdf | ||||||
Attachments: |
|
Description
Adam Roben (:aroben)
2010-10-20 23:15:32 PDT
Adobe Reader is sending the WKView a WM_CLOSE message when the user presses Ctrl+W. WKView doesn't handle WM_CLOSE, so it gets passed along to ::DefWindowProcW, which turns around and calls ::DestroyWindow. But the UI client never gets to find out about any of this. Created attachment 71393 [details]
Ask the UI client to close the page when the WKView receives a WM_CLOSE message
Committed r70247: <http://trac.webkit.org/changeset/70247> |