Bug 435841 - Primary and secondary display switch when changing configuration
Summary: Primary and secondary display switch when changing configuration
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.21.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-17 11:21 UTC by Lorenz Hoffmann
Modified: 2022-06-18 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenz Hoffmann 2021-04-17 11:21:18 UTC
SUMMARY
I'm using this applet on my multi monitor setup to disable the secondary display when I'm not using it.
However, when I change the display configuration, my secondary screen becomes the primary screen and all my widgets get moved to this screen.
So, if I want to disable the secondary screen on the right, suddenly this screen becomes my primary screen and my previously primary screen on the left gets disabled.
Same if I click 'extend to the right': Left screen is now secondary, right screen is primary and to move the mouse from left to right I have to move it beyond the left border of the screen.

STEPS TO REPRODUCE
1. Have to displays connected.
2. Disable the secondary screen.

OBSERVED RESULT
Primary screen is now disabled, secondary screen is enabled.

EXPECTED RESULT
Primary screen enabled, secondary screen disabled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.21.3
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
SDDM always chose the wrong screen as primary screen, although my UEFI and GRUB chose the correct one. I therefore added the following line to /usr/share/sddm/scripts/Xsetup:

xrandr --output HDMI-0 --off

DP-4 is my primary screen on the left,
HDMI-0 is my secondary screen on the right.
Comment 1 Nate Graham 2022-05-19 17:47:46 UTC
This should hopefully be working a lot better in Plasma 5.25. Can you check again with the 5.25 beta, or else the final release in a month? Thanks!
Comment 2 Bug Janitor Service 2022-06-03 04:35:47 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 3 Bug Janitor Service 2022-06-18 04:35:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!