Bug 34925

Summary: Keyboard shortcuts do not close Developer Tools
Product: WebKit Reporter: Jerome Knapp <knappjt>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, burg, knappjt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://example.com

Description Jerome Knapp 2010-02-14 05:15:24 PST
When I activate the Developer Tools via ⌥⌘+c or ⌥⌘+i, I can not close them again using the shortcut.

At first the docked inspector would change size a few pixels when I attempted to shortcut-close, which made me think this had to do with resizing. After I dragged the windows back to their original size, this behavior stopped.  It also won't close undocked windows.

On the latest build of chromium the shortcuts will both open and close the inspector.

~~~~

Steps to reproduce.

1) Open webkit or safari to view a webpage.
2) Activate inspector with either ⌥⌘+c or ⌥⌘+i
3) Press ⌥⌘+c or ⌥⌘+i again to close inspector
3.b) Notice odd behavior & bug

Actual Results: either slight movement in docked inspector, or no noticeable change
Expected Results: Inspector to be hidden

Build Date: This has been going on for at least a month, and affects both Safari and the latest Webkit.
Comment 1 Alexander Pavlov (apavlov) 2012-09-21 04:01:49 PDT
This behavior is browser-specific, and this is not the right component for the bug.

In Chromium, it is an explicit decision not to close detached DevTools using these shortcuts, so that they can be inspected, too.