Closed Bug 1037145 Opened 10 years ago Closed 10 years ago

Remove esc as a keybinding to close responsive mode

Categories

(DevTools :: Responsive Design Mode, defect)

30 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: canuckistani, Assigned: bgrins)

References

Details

Attachments

(1 file, 1 obsolete file)

Having a global binding on the escape key to close responsive mode is causing lots of problems with other places in the code where we bind escape, see this thread for more discussion:

https://groups.google.com/forum/#!topic/mozilla.dev.developer-tools/icxiZWPI3tw

Copying in cases where this trips us up:

Scenario 1:

1. open a site
2. enable responsive design view
3. open the toolbox and switch to the debugger by clicking on the tool
tab or using cmd+shift+]
4. hit esc

Result: responsive design view toggles off

Expected: split console opens, responsive design view stays on

Scenario 2:

1. open a site
2. enable responsive design view
3. open the toolbox and switch to the debugger
4. open the split console using the toolbox button
5. type in 'window' and hit enter, then click on window
6. hit escape 3 times

Result: variable viewer closes, then responsive design view, then the
split console

Expected: variable viewer closes, then the split console, then
responsive design view
Attached patch responsive-esc.patch (obsolete) — Splinter Review
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Attachment #8461578 - Flags: review?(paul) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/c74f359e58d2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 34
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: