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

Workaround for focus problem #1958

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

veracioux
Copy link
Contributor

@veracioux veracioux commented Oct 9, 2021

There has been a long standing problem of flameshot losing focus to other programs.

The relevant issues:

This PR provides a workaround to the problem. If flameshot loses focus, a text message will be displayed in the bottom right corner of the capture GUI that says

Flameshot has lost focus. Keyboard shortcuts won't work until you click somewhere.

As the message says, clicking anywhere in the GUI will restore focus. I don't know if this works on all platforms. I have tested it on Arch Linux with i3wm.

Note: The actual term is not focus. Instead we are talking about whether the window is active or not. But the user need not be burdened by such technicalities.

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants