peterfajdiga / karousel

Scrollable tiling Kwin script
GNU General Public License v3.0
286 stars 5 forks source link

[Bug] White 'window' appears on the left side when booting into the system #61

Closed ZenurikSD closed 1 month ago

ZenurikSD commented 3 months ago

Karousel version: 0.9.4 Plasma version: 6.1.4 X11 / Wayland: Wayland

Description: When doing a system restart or booting up for the first time, a white, full-height column appears on the left side of the screen. It behaves like a window when other columns are used, but is not targetable and does not appear anywhere as a "window entity" that can be switched to.

Running kwin_wayland --replace fixes the issue.

https://github.com/user-attachments/assets/bb3b7ad0-c8d3-422e-820c-8fea4be31aca

Karousel settings: image image image

peterfajdiga commented 2 months ago

Thanks for the report! Can you give me the white window's class, caption (title), and type? I've just written the steps to get this info here: https://github.com/peterfajdiga/karousel/wiki/Getting-window-info

ZenurikSD commented 2 months ago

I don't know how to open Kwin's debug console and I can't do it by detecting the window properties since the window is not targetable, I just end up selecting the desktop behind it.

peterfajdiga commented 2 months ago

@ZenurikSD You can open Kwin's debug console with KRunner (Press alt+space and type "kwin debug console").

ZenurikSD commented 1 month ago

Found it, sorry for the delay. I'm dumb and had the Kwin search plugin disabled, so I couldn't search for it with Krunner.

[EDIT]: Since it was the only unaccounted for option, I just exited the Xwaylandvideobridge client and the window went away. So I guess that mystery is solved lol. Maybe it spawns a window offscreen to do its thing but Karousel forces it back into the desktop view?


It apparently isn't there. I can see two "Kwin::LayerShellV1Window"s, but they seem to be the desktop and my panel since their bufferGeometry are a match with their size. There's also a Kwin::InternalWindow which is the debug window itself.

image

ZenurikSD commented 1 month ago

Here are the window's properties:

peterfajdiga commented 1 month ago

Thank you, this is super helpful!

Do your window rules contain this entry?

    {
        "class": "xwaylandvideobridge",
        "tile": false
    },

This was added to the default window rules in 0.9.3, but it's possible it's missing if you already had customized window rules when you updated to 0.9.3. I should probably hard-code this rule, instead of leaving it configurable.

ZenurikSD commented 1 month ago

Yeah, I had customized it and this entry wasn't there. I added it and after another reboot, the window is gone! Thank you.

peterfajdiga commented 1 month ago

Great! Thanks again for the report and all the info.