Bug 452393 - Screen layout changes every login after screen connectors in plasmashellrc's [ScreenConnectors] key get new numbers
Summary: Screen layout changes every login after screen connectors in plasmashellrc's ...
Status: RESOLVED DUPLICATE of bug 450068
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-08 07:45 UTC by S. Bryant
Modified: 2022-08-04 19:05 UTC (History)
6 users (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 S. Bryant 2022-04-08 07:45:00 UTC
SUMMARY

The multi-monitor layout is different each login on Wayland.  This affects a number of related settings: position, size (zoom), desktop background, panel configuration etc.

The cause appears to be the name assignment in `~/.config/plasmashellrc`.

First login:
[ScreenConnectors]
0=eDP-1
1=DP-8
2=DP-9

Second login:
[ScreenConnectors]
0=eDP-1
1=DP-6
2=DP-7

On my system, the laptop screen (eDP-1) is always screen 0.  The other displays are the same physical displays on the same physical ports, but the DP-n number changes each time.

STEPS TO REPRODUCE
1. Login to Wayland and configure screen layout
2. Logout + reboot
3. Login to Wayland

OBSERVED RESULT
The screen layout has changed

EXPECTED RESULT
The screen layout is the same

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2+kde294

ADDITIONAL INFORMATION
The laptop has hybrid Intel/Nvidia graphics.  The Intel UHD graphics drive the primary laptop display, the external monitors are connected via a Thunderbolt dock, which is routed via the Nvidia chip.

This may be related to bug 427278 - although that was for X11 & VNC, and is resolved.
Comment 1 Nate Graham 2022-04-08 15:55:31 UTC
This was supposed to be fully finally fixed in Bug 427278. I guess there's at least one edge case we missed. :(
Comment 2 Nate Graham 2022-08-04 17:55:51 UTC
*** Bug 456761 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2022-08-04 17:57:32 UTC
the connector names come from KScreen; moving there.
Comment 4 Zamundaaa 2022-08-04 18:56:43 UTC

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