geary / AnyTone-D868UV

Unofficial issue tracker for AnyTone AT-D868UV and AT-D878UV radios and firmware
57 stars 1 forks source link

Inconsistent use of Enter, Esc, Alt+O, Alt+C in dialogs #13

Open geary opened 6 years ago

geary commented 6 years ago

Software 1.27

In a Windows application dialog box, the standard keyboard behavior is for Enter to confirm the dialog and Esc to cancel it. In other words, these two keys are shortcuts for the OK and Cancel buttons.

Some of the CPS dialogs work like this, but many others follow a different convention, where Alt+O is the shortcut for the OK button, Alt+C for cancel, and Enter or Esc do not work at all.

One particularly amusing case is the Write To Radio function. This first displays a "Write to radio" dialog with standard OK and Cancel buttons. Enter and Esc work on this dialog. Then a "Read or Write Objects" dialog is displayed with the nonstandard OK button that responds only to Alt+O. So two dialogs in the same workflow follow different conventions!

It would be better if every dialog with OK and Cancel buttons used the standard convention of Enter and Esc shortcuts.