Summary: | A window with a hung tab waits 5s before becoming active | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Geoffrey Garen <ggaren> | ||||
Component: | New Bugs | Assignee: | Geoffrey Garen <ggaren> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, bdakin, mitz, sam | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Geoffrey Garen
2015-11-18 18:06:00 PST
Created attachment 265819 [details]
Patch
Comment on attachment 265819 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=265819&action=review > Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm:1163 > + if (!mightBeginDragWhileInactive()) > return false; Should we check mightBeginScrollWhileInactive here too? Comment on attachment 265819 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=265819&action=review >> Source/WebKit2/UIProcess/Cocoa/WebViewImpl.mm:1163 >> return false; > > Should we check mightBeginScrollWhileInactive here too? According to TextEdit's behavior, a scrollbar scroll that begins while the window is inactive will activate the window. In other words, scrolls do not delay window ordering. So, there's no need to check mightBeginScrollWhileInactive here. Comment on attachment 265819 [details] Patch Clearing flags on attachment: 265819 Committed r192703: <http://trac.webkit.org/changeset/192703> All reviewed patches have been landed. Closing bug. |