https://bugs.kde.org/show_bug.cgi?id=427278

            Bug ID: 427278
           Summary: Panel & desktop config of secondary monitor lost after
                    ScreenConnectors renumbering
           Product: plasmashell
           Version: 5.18.5
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Multi-screen support
          Assignee: aleix...@kde.org
          Reporter: genpfa...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
------------------------

The panel and desktop configruation of a monitor can get 'lost' after a
ScreenConnectors renumbering, requiring manual editing of plasmashellrc to
restore.


STEPS TO REPRODUCE
------------------------

On my dual-monitor setup ~/.config/plasmashellrc looks like this:

[ScreenConnectors]
0=DisplayPort-0
1=DisplayPort-1

DisplayPort-0 is the left display, DisplayPort-1 on the right.

1. Starting x0tigervncserver and connecting from another computer with TigerVNC
Viewer 1.11.0 & the "Resize remote session to the local window" option checked
ends up with DisplayPort-0 being resized to 800x600 and DisplayPort-1 being
shut off.  plasmashellrc ends up looking like this:

x0tightvncserver
[ScreenConnectors]
0=:0.0
1=DisplayPort-0
2=DisplayPort-1

No idea where :0.0 came from during that but it's apparently the primary
connector now.

2. Disconnecting from VNC & and using the "Display Configuration" applet to
re-enable & re-arrange both monitors like they were before gives me:

[ScreenConnectors]
0=DisplayPort-0
1=:0.0
2=DisplayPort-1


OBSERVED RESULT
------------------------

Now the panel/desktop config for slot 1 is 'lost', stuck on :0.0. 
DisplayPort-1 ends up using a default panel & desktop config.

I didn't see an obvious way to fix this situation in any of the System Settings
applets.  Editing plasmashellrc to put DisplayPort-1 back on slot 1 like it was
in step #1 and restarting plasmashell restores the 'lost' panel/desktop config
for DisplayPort-1.


EXPECTED RESULT
------------------------

Ideally once I set things back up in the "Display Configuration" applet then
DisplayPort-1 would end up back on slot 1 somehow and my panel/desktop config
for that monitor would be restored.


SOFTWARE/OS VERSIONS
------------------------

Kubuntu 20.04, amd64
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-45-generic

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to