davidchalifoux / keylight-commander

Cross-platform application for controlling Elgato Key Lights.
MIT License
8 stars 0 forks source link

Window Opens Under Other Ones in Linux #24

Open jfftck opened 3 months ago

jfftck commented 3 months ago

When clicking show, the window shows under the last active window. Could this be made to be always on top? Or even for just a moment, as to make it show over other windows?

Also, is there a way to set focus on the window? Is the correct window type being reported to the window manager on Linux?

I am using Ubuntu 24.04 under Wayland.

My current workaround is to have a floating window with focus before showing the Keylight Commander window.

davidchalifoux commented 3 months ago

I was able to confirm that this is specifically happening on Wayland. It's possible that it's a limitation with the gtk API which is what Tauri uses. I'll try upgrading to the Tauri 2.0 beta since it uses a newer version.

If you have the time to try that yourself feel free, PRs are welcome.