-
Notifications
You must be signed in to change notification settings - Fork 67
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
Setting "master" window on primary display breaks multi-screen switching #17
Comments
Thanks for filling out the report. I've been trying to reproduce the bug, but without any success. I tested on my PC(Arch) and 2 VMs(Arch, KDE Neon), but none showed the symptom you described. Untested variables are:
Well, I'm gonna test these using scrap parts, but no guarantees. |
Thanks for the fast reply. Currently, I am not running any Nvidia drivers for power saving reasons. It runs on the Intel integrated graphics. I am also doubtful that it is the LTS branch as I have tested this on both. I have Kubuntu on this machine so I can check that tomorrow when I get into the office where my monitors are. In testing this I think I may have tracked down the issue to more specific circumstances. For some reason when displays are stack vertically things seem to break much more consistently. My work setup has my laptop on the bottom as primary with 2 additional monitors directly above. At home, I have 4 screens which let me test some of the more obscure layouts. When all screens are placed horizontally next to each other everything seems to work fine. Once any screens are stacked vertically though, things start acting weird and seemingly erratic. I am also more than willing to fund an AWS instance so you can continue your multi-monitor work if access to testbeds/ virtual screens is in an issue for you. |
Hmm, stacking vertically did broke the script temporarily, but I still can't reliably break it. But from the debug output while it was broken, I could see that KWin was malfunctioning. It wasn't firing any events at all. I think KWin is suffering internal errors.
Thanks, but Virtualbox is good enough for testing multihead logic. |
After the 0.2 release, this bug seems to been resolved across all my systems. Thanks for the update! |
Bug Report
Multi-Monitor Functionality
Symptom
I have started to experience this bug after updating from last weeks release. It seems after debugging for about an hour, that when a window is set as "master" on the Primary Screen it breaks all kwin screen switching commands for that window. Both my "Window to Desktop #" and "Window to Previous/Next Screen" are completely disabled until a new window is set to "master" on that desktop. The window remains locked even after floating the window. This also entirely destroys any desktops that only have one window active or are layered windows like the "Spread Layout". Additionally, master window behavior does not seem to be reset by a kwin_x11 --replace and remains bugged permanently on any desktop instance on that screen (IE Virtual Desktop 3 and Virtual Desktop 4 on screen 0).
How to Reproduce
Multi-Monitor required
.
Expected behavior
Oddly enough snaping windows into new screens with the mouse still works. Just expecting that next and previous screen keys will move my windows.
Environment
OS: Arch Linux x86_64
Host: XPS 15 9560
Kernel: 4.14.88-1-lts
Kwin: 5.14.4-2
Typescript: 3.1.6-1
Resolution: 2560x1440, 2560x1440, 2560x1440
WM Theme: breezeblurred
Krohnkite version: version 0.1, commit= 8023304
KWin scripts in use: Kronhnkite
Notes
I absolutely love the script so far but multi-screen support is my number one priority for any window manager. Unfortunately, due to this bug I have had to disable Kronhnkite on both my Desktop and Laptop since I use multi-screen 80% of the time and it massively disrupts my workflow. If I can be of any assistance debugging this please feel free to ask.
Many Thanks,
Justin
The text was updated successfully, but these errors were encountered: