Pressing Escape when the context menu is open should NOT exit the document, but instead… something else?
Open, Stalled, LowPublic

Description

User action: Click on Save, get a box, and press Escape.
Expected behavior: Escape from the save dialog.

User action: Click on Insert > Media, get a box, and press Escape.
Expected behavior: Escape from the media box.

User action: Click on an existing link, get a box, and press Escape:
Expected behavior: Escape from the link box.
Actual behavior: Exit without saving.

For the purposes of the Escape key, an open context menu needs to be treated like an open dialog box: it should not exit without saving. It should just get rid of the unwanted box.

Whatamidoing-WMF updated the task description. (Show Details)
Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 27 2015, 10:50 PM
Jdforrester-WMF renamed this task from Pressing Escape should NOT exit without saving if a context menu is open to Pressing Escape when the context menu is open should NOT exit the document, but instead… something else?.Apr 27 2015, 11:02 PM
Jdforrester-WMF set Security to None.
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Closing the context menu is fundamentally a terrible user experience design – how would you get it back? The whole point of the context menu is that it's automatically available when you might need it and impossible to get rid of until you change the selection. Or are you suggesting we change the selection when you press "Escape"? Isn't that even more confusing?

Jdforrester-WMF changed the task status from Open to Stalled.Apr 27 2015, 11:04 PM
Jdforrester-WMF triaged this task as Low priority.

I think that the distinction you draw between context menus, inspectors, and dialogs is lost on users. As far as normal people are concered, these are all dialogs, and Escape should close them all. If you want it back, then you click on it again, just like you would get any other inspector-dialog-thingy back after you closed it.

However, if you'll stop Escape from exiting without saving when a context menu is open, then I'll compromise on letting you make it impossible to get rid of the context menu. (I agree that changing the selection could be confusing in some circumstances.)