Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: some tiled windows become "stuck" to a single monitor in a multi-monitor setup #177

Open
4 tasks done
sleeplessKomodo opened this issue Jun 12, 2024 · 3 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@sleeplessKomodo
Copy link

Before you make the issue, confirm that

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

Describe the bug

Basically, I use my pc, opening apps, changing virtual desktops, and eventually, a window will remain "stuck", to where other windows can be dragged without issue, but a single window will remain stuck. I can un-tile the window, and then move it to another desktop, and then re-tile it as a temporary workaround, but it's still a nuisance in an otherwise fantastic kwin script!

To reproduce

It's not easy to reproduce this bug, because it seems to only occur after my PC has been awake and running for approx. more than 8 hours. As per the instructions to restart kwin and check logs, I'll wait until the end of today to see if anything will be logged.

Expected behavior

I would expect the tiled windows to be draggable across multiple desktops, so long as polonium is running and active.

Log output

> journalctl --user --no-pager -e | grep -i "polonium"

Jun 12 11:03:52 nobara kwin_wayland[8574]: file:///home/jimbo/.local/share/kwin/scripts/polonium/contents/code/main.mjs:2711: TypeError: Cannot read property 'isTiled' of undefined
Jun 12 11:03:52 nobara kwin_wayland[8574]: file:///home/jimbo/.local/share/kwin/scripts/polonium/contents/code/main.mjs:2711: TypeError: Cannot read property 'isTiled' of undefined

Screenshots and videos

2024-06-10.08-44-41_720p.mp4

Additional context

Operating System: Nobara Linux 39
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.6.2
Kernel Version: 6.8.12-200.fsync.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2

@sleeplessKomodo sleeplessKomodo added the bug Something isn't working label Jun 12, 2024
@In-line
Copy link

In-line commented Jun 20, 2024

This seems to be KWin bug, as it happens more frequently on 6.1 KDE release.

Basically window.output contains wrong screen.

It's happening reliably on my system with one 1080p screen and another 1440p screen.

@In-line
Copy link

In-line commented Jun 21, 2024

I created a ticket for KWin https://bugs.kde.org/show_bug.cgi?id=488898

@In-line
Copy link

In-line commented Jun 22, 2024

Well, I debugged and fixed the issue https://invent.kde.org/plasma/kwin/-/merge_requests/5960

Hopefully it should fix all Windows jumping around between monitors.

You can pretty much compile than replace your kwin_wayland executable. It should work with 6.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants