kwin-scripts / kwin-tiling

Tiling script for kwin
GNU General Public License v2.0
1.1k stars 68 forks source link

Ghost windows taking up space #261

Open Warkorentin opened 2 years ago

Warkorentin commented 2 years ago

Hi,

For some times now I've had issues of "ghost" windows taking up space on my desktop, seemingly at random. I suspect that using multiple activities on KDE is the issue, but I've been unable to systematically reproduce this behavior.

Screenshot_20220525_090504

Usually I simply logout and log back in. Any idea where this comes from ? Also, do you have any solution other than to logout ?

Thanks !

Lafolie commented 2 years ago

Hi, I also experience this issue, but am able to reproduce it! I suspect that the cause for @Warkorentin is a different one, as mine is really obvious.

On my desktop, this occurs when a display is removed and there are un-minimised windows. It's quite annoying as whenever my HDMI switch kicks in (the primary display is shared with a Nintendo Switch) this happens, rendering the desktop useless. The only workaround I've found is to bash Super+PgDown to minimise everything before I wake up the Switch. Super+D doesn't work, and neither does switching to an empty desktop before the display is removed.

wd5gnr commented 2 years ago

I am pretty sure if you move something from one activity to another while tiled, that is the culprit. One work around. Before moving (or move it back temporarily), switch the window to floating. Then move it. Then switch it back. Painful, but works.

svrnwnsch commented 2 years ago

For me the script mentioned here fixed the problem: https://github.com/kwin-scripts/kwin-tiling/issues/88#issuecomment-356018243

for me it seems to be related to multi monitor setup.

ktkv419 commented 1 year ago

For me it seems to be a product of mix matching tiling and non tiling modes on different monitors. And bug isn't inherited on other virtual desktops.