Cmd + W closes the whole browser tab while a file is edited in the dev tools
Reported by
nonameth...@gmail.com,
Aug 17 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Steps to reproduce the problem: 1. Open Developer Tools 2. Go to Sources, start to edit a file 3. Press Command + W on Mac or Ctrl + W on Windows 4. See that the whole page got closed What is the expected behavior? The following should happen when Cmd + W is pressed in the Editor panel, while an open file has focus : 1. The opened file get closed 2. If other file is open for editing then the next opened file should get the focus 3. This can be repeated until there is no more open files. 4. Pressing Cmd + W again should close the whole tab as it does right now. What went wrong? Pressing Cmd + W close immediately the whole tab regardless of the focus of the file editor in the dev tools. Did this work before? No Chrome version: 52.0.2743.116 Channel: stable OS Version: OS X 10.11.6 Flash Version:
,
Aug 17 2016
Having a Ctrl-W shortcut to behave differently wrt focus looks like a bad idea for me. Especially given that there's no clear indication of who's focused. For now, there's Alt-W shortcut to close tab. There's also issue 174309 which might solve this and other shortcut-related concerns. |
||
►
Sign in to add a comment |
||
Comment 1 by l...@chromium.org
, Aug 17 2016Cc: lushnikov@chromium.org
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)