glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
5.17k stars 153 forks source link

[Bug] NVIDIA Geforce NOW and KeePassXC should be managed #701

Closed proJM-Coding closed 1 day ago

proJM-Coding commented 2 weeks ago

Describe the bug

I noticed that with KeePassXC and NVIDIA GeForce NOW they both have a problem which their window behavior isn't controlled by glazewm. Switching focus never selects these windows, these windows spawn as floating even though I have set windows to tiling. These windows show on every workspace and this was not an issue for KeePassXC before the rust rewrite (NVIDIA GeForce NOW always had this issue). I am using mostly the default config, most of my changes are hotkeys.

Reproduction

Open ether KeePassXC or NVIDIA GeForce NOW and notice how they both will spawn as floating. Move to any workspace and notice how the window is always shown in every workspace. Change focus with alt + arrow keys and notice how the focus will never land on ether window.

Stack trace or error logs (if applicable)

No response

Version number

v3.1.1

lars-berger commented 2 weeks ago

When a window is shown on all workspaces like that, it means that GlazeWM isn't managing the window

The logic for whether a window should be managed has mostly stayed the same. One slight difference is that if we fail to get the process name or class name of a window, the behavior now is that we skip managing it - perhaps this is what's happening for NVIDIA Geforce and KeePassXC

proJM-Coding commented 2 weeks ago

That would make sense to me but I don't understand why KeePassXC is not managed after the rust rewrite. Is there some way I can check if it got the process name or class name of a window?

Sh00Fly commented 1 week ago

I'm observing the same behavior here. Here is what Window Spy thinks of KeePassXC window: image

lars-berger commented 6 days ago

I'm observing the same behavior here. Here is what Window Spy thinks of KeePassXC window: image

Hmm the window title, class, and process all look valid in that pic. Does KeePass get managed if you start GlazeWM when the KeePass window is already open?

proJM-Coding commented 6 days ago

NVIDIA GeForce NOW does get put in the tiling layout but is still shown on all workspaces. KeePassXC still isn't managed.

Here is winspy for KeePassXC: image

And here is winspy for NVIDIA GeForce NOW: image

proJM-Coding commented 1 day ago

Thanks for that, I'll test if it works once the next release is out.