WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 151426
A window with a hung tab waits 5s before becoming active
https://bugs.webkit.org/show_bug.cgi?id=151426
Summary
A window with a hung tab waits 5s before becoming active
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Geoffrey Garen
Comment 1
2015-11-18 18:17:32 PST
Created
attachment 265819
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug