0

Trying to control Android Studio by keyboard only, I do not know why, but when I focus "Cancel" button and press enter, it acts like I clicked on the default button (next tip is shown). The same scenario applies to WebStorm.

enter image description here

then I press Tab or right arrow (notice the blue glow around the button) enter image description here

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Nezbeda
  • 131
  • 2
  • 12
  • 1
    Try pressing `Space` here. I believe it's something to do with Java Swing used here (default behaviour) -- see this comment for example: https://youtrack.jetbrains.com/issue/IDEA-14355#comment=27-59418 . Or maybe it's just https://youtrack.jetbrains.com/issue/IDEA-174374 of the similar/related ticket.... – LazyOne Dec 04 '17 at 16:13
  • Works well, thanks. But it still looks like a strange behavior to me. – Nezbeda Dec 04 '17 at 17:59

1 Answers1

1

The solution, as LazyOne mentioned, is to use SPACE instead of ENTER.

Nezbeda
  • 131
  • 2
  • 12