yad icon indicating copy to clipboard operation
yad copied to clipboard

Buttons in a form: focus returns to the first button always

Open manuel-192 opened this issue 5 years ago • 0 comments

Hi, and first of all: thanks for the great yad! I'm using yad version 5.0.

The small problem is the focus in a form filled with action buttons. The focus always returns to the first button regardless of which button was clicked.

Here's an example: yad --form --columns=2 --field="Emacs":fbtn emacs --field="Mousepad":fbtn mousepad --field="Leafpad":fbtn leafpad >&/dev/null That is a simple form with 3 buttons, each start a program (here: editors just for demonstration). If I click e.g. the Leafpad button, the focus goes back to Emacs button.

This may be a bit confusing especially when using some changed theming - then the focused button may be with a different color than all other buttons.

manuel-192 avatar Feb 07 '20 17:02 manuel-192