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

Close window when focus is lost #16

Open
Chouffy opened this issue Jan 31, 2023 · 2 comments
Open

Close window when focus is lost #16

Chouffy opened this issue Jan 31, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Chouffy
Copy link

Chouffy commented Jan 31, 2023

Is your feature request related to a problem? Please describe.
If I open the EFCK window with a keyboard shortcut, it stays there.

Describe the solution you'd like
It would be great to have a (configurable?) timeout, so after X seconds EFCK close automatically.

@kernc kernc added the enhancement New feature or request label Feb 3, 2023
@kernc
Copy link
Member

kernc commented Feb 3, 2023

I was thinking about it but then thought simply refocusing and pressing Esc was easy enough.

I agree it might be useful: if the app loses focus for >1s (to avoid "false positives") and the text filter line contains <10 characters (to avoid "losing" potentially substantial content), quit it. If this proves a nuisance for users, we can add an options toggle later.

Would you happen to be willing to work on it? 🙂

@Chouffy
Copy link
Author

Chouffy commented Feb 3, 2023

The 2 filter you states are indeed great.
I would be happy to contribute, but at the moment life is a bit too busy to dedicate time to it 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants