polonium icon indicating copy to clipboard operation
polonium copied to clipboard

[Bug]: Windows appear on wrong virtual desktops

Open pjhfggij opened this issue 1 year ago • 3 comments
trafficstars

Before you make the issue, confirm that

  • [X] You are running the master build from GitHub actions
  • [X] You have read the FAQ and the usage instructions
  • [X] You have searched pull requests and issues and have found none similar to your issue
  • [X] This problem comes from a failure in the tiling system and not a missing feature

Describe the bug

Invisible/minimized tiles from windows on other virtual desktops are appearing when switching between windows on different virtual desktops: image When I try to put it in focus it switches to a window in a completely different virtual desktop. I've been living with this bug ever since polonium came out - I'd be so glad to finally solve it.

To reproduce

I'm really not sure how this can be reproduced. Any hints where to find clues would be very appreciated.

Expected behavior

Only windows visible in the current virtual desktop tile.

Log output

running `journalctl --user --no-pager -e | grep -i "polonium"` was empty?

pjhfggij avatar Jun 02 '24 14:06 pjhfggij

Is it related in any way to #24 possibly? If not and it's an actual tiling issue, read https://zeroxoneafour.github.io/polonium/usage.html#getting-a-log.

zeroxoneafour avatar Jun 03 '24 04:06 zeroxoneafour

Thanks, I've enabled debugging, will restart and wait for the issue to reappear to send back the logs (hopefully they will explain it). #24 looks similar, something is causing layouts to break when switching desktops, but it doesn't happen constantly, it seems like it needs to be a in specific state.

I should have added that this is mostly triggered when switching widows via the "Task Manager" widget (shortcuts Meta+[1-9])

pjhfggij avatar Jun 03 '24 21:06 pjhfggij

I still can't obtain the log, but I found a better illustration of the problem: a minimized window from another virtual desktop is incorrectly added to the current desktop - if you focus on it (focus down) it will switch to that desktop: image

image

pjhfggij avatar Jun 05 '24 07:06 pjhfggij