Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
manuel-192 opened this issue Feb 7, 2020 · 0 comments · May be fixed by #252
Open

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

manuel-192 opened this issue Feb 7, 2020 · 0 comments · May be fixed by #252

Comments

@manuel-192
Copy link

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.

futureisfoss added a commit to futureisfoss/yad that referenced this issue Oct 18, 2023
Focus now works correctly on form buttons
@futureisfoss futureisfoss linked a pull request Oct 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant