I configured my two screens to display different panels. When the screens turn off (after some time) and turn on again, the panels of the screens are switched. Running "kquitapp plasmashell" and "plasmashell" fixes the problem. One of the screens takes a few seconds longer to start again, this may be related to the problem.
is the screen that's switched off marked as "primary"?
maybe related with https://bugs.kde.org/show_bug.cgi?id=377588
Both screens switch off, but the primary screen indeed takes a bit longer to turn on again. I don't know if the other bug is related. I do have "lastScreen=0", 1 and 2 in plasma-org.kde.plasma.desktop-appletsrc (there's also a laptop screen which is turned off), but the system starts fine. The problem only occurs after the screens are turned off (by the energy saving settings).
energy saving shouldn't change screen configuration in any way...
What graphics card, and driver are you using? And what kind of connection to the screens (DVI, DisplayPort etc)? I have this issue and wondered what the common element is. My setup: * Kubuntu 18.04, all updates as of 21-MAY-2018 * Nvidia GTX 980Ti, using proprietary driver nvidia-driver-390 (390.48) * Two 4k monitors connected via DisplayPort * The right-hand screen is set as the primary screen (in Plasma settings and in NVidia settings)
I don't have the same setup anymore, so don't experience the issue anymore. But, for the record: - Arch Linux packages - Nouveau driver, unknown graphics card - The setup was: one hdmi-connected monitor, and the laptop screen. Although it also occurred when I added a vga-connected monitor. - The right screen was indeed set as the primary screen (the hdmi-connected one).
Thanks, NVidia GPUs seem to be a common element (I mean, they're pretty popular obviously but even so).
Is this bug still happening on newer Plasma versions?
I don't have the same setup anymore, so I cannot try to reproduce.
Yes, this is happening with: Plasma 5.16.5 KDE Frameworks 5.62.0 Qt 5.13.1 I'm using an AMD Vega 64 GPU and running Arch.
For me though, the panels aren't so much switched, but both screens show the window list for the right hand desktop (I have the window list setup to show windows on the current screen). Both my panels are identical so I can't tell if the whole panel has been duplicated. I'm getting around this by having a constant python script running in the background that detects when the screens have been switched off and back on, and automatically restarts Plasma.
More relevant info: I have two 4k monitors connected with DisplayPort 1.2.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Thanks for the update; changing status.
I think it is related with my case. I have two external monitors connected to my latop. I disable the screen of my laptop. I add panels to every monitor and everything works fine until I unplug the monitors and plug them again. It seems that there is no kde desktop conf for every monitor saved. Is this right? I do not know if there is a but of we need a feature for that. Thank you very much.
Sory I forgot to mention that I am using Kubuntu 19.10 with backports and KDE 5.17.2 but the problem was the same with KDE 5.16.5. I thoght that the upgrade might fix this problems but it was not the case.
*** This bug has been marked as a duplicate of bug 356225 ***