WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143030
REGRESSION: Inspector doesn't get focused when opened in dock mode
https://bugs.webkit.org/show_bug.cgi?id=143030
Summary
REGRESSION: Inspector doesn't get focused when opened in dock mode
Ryosuke Niwa
Reported
2015-03-24 17:24:50 PDT
When Web Inspector is opened in the docked mode, it doesn't become the first responder even through the caret rendered by CodeMirror starts blinking.
Attachments
Patch
(2.09 KB, patch)
2015-03-24 17:40 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-03-24 17:25:22 PDT
<
rdar://problem/20285019
>
Ryosuke Niwa
Comment 2
2015-03-24 17:40:23 PDT
Created
attachment 249369
[details]
Patch
Joseph Pecoraro
Comment 3
2015-03-24 18:05:14 PDT
Comment on
attachment 249369
[details]
Patch Looks good to me! Needs a WK2 Owner's approval
Timothy Hatcher
Comment 4
2015-03-24 18:09:31 PDT
Comment on
attachment 249369
[details]
Patch Should we fix WKWebView to "forward" first responder status when it gets becomeFirstResponder? That way no one else runs into this issue.
Ryosuke Niwa
Comment 5
2015-03-24 18:12:25 PDT
(In reply to
comment #4
)
> Comment on
attachment 249369
[details]
> Patch > > Should we fix WKWebView to "forward" first responder status when it gets > becomeFirstResponder? That way no one else runs into this issue.
I don't think so at least not according to Andres. He suggested making WKWebView return NO in acceptsFirstResponder but I'd prefer landing it as a separate patch.
Timothy Hatcher
Comment 6
2015-03-24 18:19:32 PDT
If you were a third party developer, how would you get the WKView to make it the first responder. You couldn't. Please fix this properly.
Ryosuke Niwa
Comment 7
2015-03-24 19:35:37 PDT
(In reply to
comment #6
)
> If you were a third party developer, how would you get the WKView to make it > the first responder. You couldn't.
You'd create your own WKView via: [WKView initWithFrame]
> Please fix this properly.
If you think this API design is wrong, please file a separate bug. That's a much broader scope than fixing this regression. Quite frankly, I don't even want to work on this bug if it wasn't blocking the
bug 126800
.
Tim Horton
Comment 8
2015-03-24 19:37:22 PDT
(In reply to
comment #7
)
> (In reply to
comment #6
) > > If you were a third party developer, how would you get the WKView to make it > > the first responder. You couldn't. > > You'd create your own WKView via: [WKView initWithFrame]
WKView is not API.
Ryosuke Niwa
Comment 9
2015-03-24 19:37:39 PDT
Comment on
attachment 249369
[details]
Patch Clearing flags on attachment: 249369 Committed
r181927
: <
http://trac.webkit.org/changeset/181927
>
Ryosuke Niwa
Comment 10
2015-03-24 19:37:44 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 11
2015-03-24 19:43:22 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > (In reply to
comment #6
) > > > If you were a third party developer, how would you get the WKView to make it > > > the first responder. You couldn't. > > > > You'd create your own WKView via: [WKView initWithFrame] > > WKView is not API.
Huh, I guess it's SPI but not API? Anyway, we should move that discussion into another 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