Closed Bug 1168132 Opened 9 years ago Closed 9 years ago

DevTools: Drag and drop element move should be cancellable by ESC key

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsnajdr, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fixed by bug 1176785])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3

Steps to reproduce:

1. Open the HTML markup inspector
2. Start dragging an element
3. Try to cancel the drag and drop by pressing Esc


Actual results:

Split console is opened instead of cancelling DnD. In case when the mouse was over the area where the split console is going to appear, the inspector window loses focus and the DnD process continues even after the mouse button is released.



Expected results:

Cancel the drag and drop on the Esc key. Open split console only after the second Esc.

Other issues with the Esc key behavior were solved in bug 988278.
Component: Untriaged → Developer Tools: Inspector
I agree - ESC in this case should cancel drag and drop
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 1176785
We need to concert actions on this bug and bug 1176785,
because currently ESC key behavior is considered as a part of that bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 1176785]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.