<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>452393</bug_id>
          
          <creation_ts>2022-04-08 07:45:00 +0000</creation_ts>
          <short_desc>Screen layout changes every login after screen connectors in plasmashellrc&apos;s [ScreenConnectors] key get new numbers</short_desc>
          <delta_ts>2022-08-04 19:05:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>KScreen</product>
          <component>common</component>
          <version>5.24.4</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>450068</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="S. Bryant">steve</reporter>
          <assigned_to name="kscreen-bugs-null@kde.org">kscreen-bugs-null</assigned_to>
          <cc>aleixpol</cc>
    
    <cc>bugsKde</cc>
    
    <cc>nate</cc>
    
    <cc>notmart</cc>
    
    <cc>postix</cc>
    
    <cc>xaver.hugl</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2116219</commentid>
    <comment_count>0</comment_count>
    <who name="S. Bryant">steve</who>
    <bug_when>2022-04-08 07:45:00 +0000</bug_when>
    <thetext>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 &amp; VNC, and is resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116296</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-04-08 15:55:31 +0000</bug_when>
    <thetext>This was supposed to be fully finally fixed in Bug 427278. I guess there&apos;s at least one edge case we missed. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2143496</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-04 17:55:51 +0000</bug_when>
    <thetext>*** Bug 456761 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2143498</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-08-04 17:57:32 +0000</bug_when>
    <thetext>the connector names come from KScreen; moving there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2143512</commentid>
    <comment_count>4</comment_count>
    <who name="Zamundaaa">xaver.hugl</who>
    <bug_when>2022-08-04 18:56:43 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 450068 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>