Bug 377297 - Panel and windows move to wrong screen when displays are added and removed
Summary: Panel and windows move to wrong screen when displays are added and removed
Status: RESOLVED DUPLICATE of bug 356225
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.9.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2017-03-06 16:46 UTC by Michael Butash
Modified: 2021-08-16 23:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Multi monitor panels shift randomly with disconnect and reconnect of displays (7.34 KB, text/plain)
2017-03-06 16:46 UTC, Michael Butash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Butash 2017-03-06 16:46:24 UTC
Created attachment 104413 [details]
Multi monitor panels shift randomly with disconnect and reconnect of displays

I've long posted to bug thread #356225, but after having 5.7.2 fix my prior AMD-based system, I've found after upgrading that Nvidia systems still suffer the same multi-screen problems.

KDE display settings in plasma have 3 displays typically, HDMI connected TV's essentially, and has constant issues figuring out which display to keep windows and panels to.  Changing the "primary" display causes the main task bar and menu to jump to anything but that actual display.

This occurs when I power off my displays, as being TV's they do not support DMPS or any other power saving.  When powered off, the card shows them disconnected, and jumbles my screens and content.  Earlier days of plasma5, it would crash it, now it just annoyingly throws everything about, including my task bars and things like Cairo Dock I use.

This is Arch linux, just upgraded to 5.9.1 saturday, and using Nvidia binary drivers.  Xrandr shows things just fine as I want them, only plasma isn't honoring, or reporting to other windowed apps, the proper sequence of which display is which.

I'm including a link to a spectacle screen cap showing the display id's, plasma settings, and xrandr -q output in a single shot (it's a 40mb png).  Everything shows normally other than the windows and panels just don't go where they're supposed to.

It is highly problematic when it moves everything, including my workspace windows when I turn off, and remove the 3x displays overnight, which seems to just make this worse.

Steps to reproduce:

1) Install nvidia video card (1070gtx) and 3x 4k hdmi 2.0 displays (samsung 48" lcd tv's)
2) Install arch and nvidia drivers with kde plasma5, currently 5.9.1
2) Use Plasma system settings to arrange the displays in order
4) Set primary display in settings to be middle display (dp-2 on mine)
5) Save settings, open various applications around the screens, and power off each tv in any order
6) Power them back on in any order
7) Log back into system and witness the task bar move to a different monitor, and all other open window are jumbled usually to one

No xorg.conf files exist, I've not used the nvidia-settings setup, only kde's display manager.  I have attempted to clear out kwin files and various other plasma config files several times, no avail.  This is something more deeply rooted than prior fixes for this.

Screen shot: https://drive.google.com/file/d/0B91hGMu34xP7QzBvY3Y2M0RySXM/view?usp=sharing
Comment 1 Ariel Rosenfeld 2018-07-16 11:55:08 UTC
Still valid for version 5.13.3 in archlinux using nvidia GeForce GTX 960
Comment 2 Nate Graham 2021-08-16 23:51:37 UTC

*** This bug has been marked as a duplicate of bug 356225 ***