Bug 43932 - Web Inspector: User Defaults for Inspector Being Only Attached/Detached
Summary: Web Inspector: User Defaults for Inspector Being Only Attached/Detached
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-08-12 13:59 PDT by Rob Brackett
Modified: 2015-11-20 13:07 PST (History)
15 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Brackett 2010-08-12 13:59:07 PDT
I'm currently working on a program inside which I'd like to expose the web inspector, but the webview it is attached to sits beneath an overlay of other graphics and controls. Because of that, I can't forward mouse and keyboard events to the webview, making the inspector pointless. For this case, I'd like to have the inspector always be detached (in a separate window) and never be able to be re-attached to the webview. 

The "WebKit Web Inspector Setting - inspectorStartsAttached" user default can have it start detached, but it would be great to have a separate setting that forces it to always be detached (it would probably make sense to have one that forces it to always be attached, too). It should also remove the attach/detach toggle button in the lower left corner of the inspector.

Boolean settings like the following would probably make sense:

"WebKit Web Inspector Setting - inspectorAlwaysAttached"
"WebKit Web Inspector Setting - inspectorAlwaysDetached"

or alternatively a string:

"WebKit Web Inspector Setting - inspectorOnlyAttachment" values: "attached" or "detached"
Comment 1 Radar WebKit Bug Importer 2014-12-17 11:27:25 PST
<rdar://problem/19281661>
Comment 2 BJ Burg 2015-11-20 13:07:48 PST
If this is an issue preventing you from using the inspector, you can remotely inspect the WebView. Remote inspection is never docked.