diced / dlauncher

An application launcher for Linux that is based on Ulauncher
GNU General Public License v3.0
81 stars 6 forks source link

dlauncher windows doesn't steal focus #5

Open boobin opened 2 years ago

boobin commented 2 years ago

On a gnome system, when launching dlauncher-toggle, the window is displayed, but it doesn't steal focus so i have to click on it before searching for my application.

diced commented 2 years ago

Should be fixed in https://github.com/diced/dlauncher/commit/b8beb641b52c5f69cd3ed9b8055a24758f4970d5

boobin commented 2 years ago

It only works the first time i call dlauncher-toggle. If i cancel and recall it, it doesn't take the focus.

diced commented 2 years ago

Thats weird, could you show a recording of this?

petterssonjonas commented 2 years ago

I have the same problem, but only when i have dterm (gnome-ext, like guake) toggled.

I would also like to be able to set dlauncher to pop up in the center of the screen, or where i decide i want it... Also i would like to be able to close the dlauncher window by just hitting enter when the input field is empty. Another thing, if you could add a .local/share/applications/dlauncher.desktop file, that way it can be added to gnome autostart, instead of .xinit. Also add a note that any theme has to have the same folder name as name in manifest.json Sorry to highjack the thread with other stuff. Thanks for a great app.

diced commented 2 years ago

Still unsure on why it doesn't steal focus, at the moment I don't want to install gnome so I am not able to test this out. For your other suggestions, they seem reasonable and will be added in the next release hopefully.

avently commented 2 years ago

@diced I'm using i3wm and have the same problem. I written step-by-step instruction of how to reproduce. Maybe it will help https://github.com/diced/dlauncher/issues/10#issue-1338173509