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

applauncherwidget: enter key to launch current/first shown app #3331

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

d-a-s
Copy link
Contributor

@d-a-s d-a-s commented Sep 10, 2023

Currently with the open with program dialog, you have to click the application with the mouse. This can be inconvenient, especially when using keyboard shortcuts such as ctrl+O, and/or typing a filter.

This code allows for pressing the enter key to open.

If there is a "Currently selected" item, (e.g. one uses shift+tab to focus the control, and arrow keys to select), it will open that selected item.

If there is no current selection, it will use the first visible item.

@mmahmoudian
Copy link
Member

sound like a good addition to me, and the code looks clean and good to me too. let's wait for approval of @veracioux but in the meanwhile I will run the Actions

@veracioux veracioux merged commit 1d276a2 into flameshot-org:master Sep 14, 2023
21 of 22 checks passed
@mmahmoudian mmahmoudian added this to the v13 milestone Sep 17, 2023
panpuchkov pushed a commit to namecheap/flameshot that referenced this pull request Dec 22, 2023
…shot-org#3331)

* applauncherwidget: enter key to launch current/first shown app

* fix clang formatting

(cherry picked from commit 1d276a2)
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 this pull request may close these issues.

3 participants