Page MenuHome

No hotkey to confirm quit popup
Open, NormalPublic


Blender Version
Broken: 5ba5254ec1eb
Worked: 2.79b

Short description of error
The Quit confirmation dialogue box doesn't have a hotkey to confirm quitting.

Exact steps for others to reproduce the error

  • Change the blend file to force a prompt
  • Press Ctrl+Q to quit Blender
  • Press Enter (which confirmed the old "Are you sure?" popup and is generally used as confirmation)
  • Blender is still running, the confirmation popup closed.
  • Press Ctrl+Q to quit Blender
  • Press Escape (which is generally understood to be the opposite of Enter)
  • Blender is still running, the confirmation popup closed.

Expected behaviour
After pressing Enter in the confirmation popup, I expect Blender to quit.

It currently is impossible to quit Blender by just using the keyboard. Since the confirmation popup, contrary to other popups, doesn't spawn under the mouse, it's even harder to click on the correct button.



Event Timeline

@Sybren A. Stüvel (sybren): as a workaround, you can give focus to the three buttons in the popup using the UP and DOWN arrows on your keyboard, then press ENTER.
However, it would be nice if one of the buttons would have a default focus. Also it would be more 'common sense to also be able to use LEFT and RIGHT arrows on the keyboard?

As a matter of fact, the LEFT key also closes the dialogue box, even when the right-most button has the keyboard focus and you want to move the keyboard focus to the left.

This means that there are three keys to close it, but none to confirm it (unless you count DOWN, DOWN, ENTER, but I don't see that as a serious alternative).

Could this patch have a similar concept (but on a general level) D1450 ?

Philipp Oeser (lichtwerk) triaged this task as Normal priority.Apr 5 2018, 12:19 PM

Although it doesn't completely resolve what's reported here, rB72e5082b6757e does relating changes. Would still be nice to have proper "focus" support.

For me it doesn't really solve the issue, previously Blender had a really quick way to exit (Ctrl+Q, Enter) which flows off the fingers easier than Ctrl+Q, Alt+D. I know, very much personal preference, but I think it's quite common to have Enter and Escape do the opposite.

In the end I guess this is something for the UI team.

For the records, I agree Ctrl + QEnter should still work, I can have a look at it after the code quest.
EDIT: Didn't mean after the code quest, but once I'm back home. That is next week.

(Also, you can do Ctrl + QD now, no need for the Alt).