Bug 151426

Summary: A window with a hung tab waits 5s before becoming active
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: New BugsAssignee: 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 Flags
Patch none

Geoffrey Garen
Reported 2015-11-18 18:06:00 PST
A window with a hung tab waits 5s before becoming active
Attachments
Patch (5.83 KB, patch)
2015-11-18 18:17 PST, Geoffrey Garen
no flags
Geoffrey Garen
Comment 1 2015-11-18 18:17:32 PST
Anders Carlsson
Comment 2 2015-11-19 10:58:46 PST
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?
Geoffrey Garen
Comment 3 2015-11-19 11:28:13 PST
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.
Geoffrey Garen
Comment 4 2015-11-20 15:10:59 PST
Comment on attachment 265819 [details] Patch Clearing flags on attachment: 265819 Committed r192703: <http://trac.webkit.org/changeset/192703>
Geoffrey Garen
Comment 5 2015-11-20 15:11:02 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.