oliverschwendener / ueli

Cross-Platform Keystroke Launcher
https://ueli.app
MIT License
3.62k stars 239 forks source link

[Bug] ConfirmationDialog: none of the buttons is focused #1138

Open Dtrieb opened 2 months ago

Dtrieb commented 2 months ago

If I selected a system command like shutdown Ueli ask:

Are you sure (yes or not)

In this dialog I can't select the yes or no Buttons with my keyboard.

oliverschwendener commented 2 months ago

Did you try Tab?

Dtrieb commented 2 months ago

Did you try Tab?

No I try it tomorrow.

But on the old version (8.x.x) yes was selected as default and I could change with the arrow keys.

oliverschwendener commented 2 months ago

I just tested it and it works as follows: the "No" button is focused by default, altough there is no focus indicator. This seems to be an issue in the UI library that ueli uses: https://react.fluentui.dev/?path=/docs/components-dialog--default#change-focus. Nevertheless, by pressing Tab you can jump to the "Yes" button and then press enter to confirm the dialog.