Bug 377561 - Panels switched after screen switched off
Summary: Panels switched after screen switched off
Status: RESOLVED DUPLICATE of bug 356225
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.16.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 11:20 UTC by Matthijs
Modified: 2021-08-16 23:06 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs 2017-03-13 11:20:05 UTC
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.
Comment 1 Marco Martin 2017-03-23 17:12:25 UTC
is the screen that's switched off marked as "primary"?
Comment 2 Marco Martin 2017-03-23 17:12:40 UTC
maybe related with https://bugs.kde.org/show_bug.cgi?id=377588
Comment 3 Matthijs 2017-03-24 08:45:20 UTC
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).
Comment 4 Marco Martin 2017-04-06 12:42:03 UTC
energy saving shouldn't change screen configuration in any way...
Comment 5 JordanL 2018-05-22 09:04:37 UTC
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)
Comment 6 Matthijs Tijink 2018-05-22 18:00:03 UTC
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).
Comment 7 JordanL 2018-05-22 18:22:55 UTC
Thanks, NVidia GPUs seem to be a common element (I mean, they're pretty popular obviously but even so).
Comment 8 Germano Massullo 2019-10-04 20:34:04 UTC
Is this bug still happening on newer Plasma versions?
Comment 9 Matthijs Tijink 2019-10-05 10:09:35 UTC
I don't have the same setup anymore, so I cannot try to reproduce.
Comment 10 JordanL 2019-10-05 10:30:36 UTC
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.
Comment 11 JordanL 2019-10-05 10:33:30 UTC
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.
Comment 12 JordanL 2019-10-05 10:35:23 UTC
More relevant info: I have two 4k monitors connected with DisplayPort 1.2.
Comment 13 Bug Janitor Service 2019-10-20 04:33:10 UTC
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!
Comment 14 Christoph Feck 2019-10-22 00:56:24 UTC
Thanks for the update; changing status.
Comment 15 David 2019-11-08 07:41:59 UTC
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.
Comment 16 David 2019-11-08 07:43:00 UTC
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.
Comment 17 Nate Graham 2021-08-16 23:06:50 UTC

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