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

Prevent multiple execution #114

Open
akriese opened this issue Jan 3, 2023 · 3 comments
Open

Prevent multiple execution #114

akriese opened this issue Jan 3, 2023 · 3 comments
Labels

Comments

@akriese
Copy link
Contributor

akriese commented Jan 3, 2023

This is a minor thing I noticed when accidentally hitting a hotkeys twice in a row. The widget is opened twice and as I am using a little transparency for the background, I am seeing search results from the first widget underneath the second one. Screenshot for reference:
pass-winmenu

As this is only a minor issue (or maybe, it is even expected behavior?), which probably doesnt occur often, I dont expect this to be fixed. Otherwise, I guess one could check if there is an active widget and focus that instead of opening a new one.

@willpower232
Copy link

I have managed to trigger this a few times when I'm impatient for the first opening, I've never tried pressing the hotkey when the widget was already open though, does that also open a duplicate widget?

@akriese
Copy link
Contributor Author

akriese commented Jan 4, 2023

It doesn't seem to matter how much time passes between two hotkey triggers, if that's what you mean. It always spawns two widgets.

@geluk
Copy link
Owner

geluk commented Jan 10, 2023

Hi @akriese, I do consider this a bug since I cannot really imagine a situation where opening two menus over each other makes sense. I have not done anything about this yet since there are a few different ways this can be solved which I haven't really evaluated yet, but I'm going to look into this.

@geluk geluk added the bug label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants