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

            Bug ID: 468432
           Summary: Plasma workspaces change the screen when a new monitor
                    is activated
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: a...@laxu.de
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY
When activating a third screen, the workspace and panel from the second screen
are moved to the third screen and the second screen gets the workspace and
panel of the previously inactive third screen.


STEPS TO REPRODUCE
Screen layout: | DP-3 | HDMI-1 | HDMI-0

Two screens active:
xrandr --output HDMI-0 --off
xrandr --output HDMI-1 --right-of DP-3 --auto

Activate the third screen:
xrandr --output HDMI-0 --right-of HDMI-1 --auto

OBSERVED RESULT
Two screen layout:

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
HDMI-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis)
521mm x 293mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis)
527mm x 296mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93

Three screen layout:
$ xrandr --output HDMI-0 --right-of HDMI-1 --auto
$ xrandr 
Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 32767 x 32767
HDMI-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis)
477mm x 268mm
   1920x1080     60.00*+  50.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    50.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis)
521mm x 293mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis)
527mm x 296mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93 

EXPECTED RESULT
The third screen should be activated with the workspace assigned to the
inactive screen (or a new workspace if it is activated the first time)

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: X11

Despite the output of xrandr, the graphics card has two DisplayPort and two
HDMI ports. I do not know why it lists DP-0 to DP-3. Maybe the HDMI ports are
listed as HDMI and DisplayPort?

ADDITIONAL INFORMATION
Bug 458916 is related and describes the workspace/panel dialog not always
storing the screen layout after correcting the issues caused by this bug. This
bug is probably the first step for solving it and easier to reproduce by using
the shell commands.

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

Reply via email to