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

            Bug ID: 528689
           Summary: Icon arrangement partially lost when changing
                    multi-display configuration during sleep
    Classification: Plasma
           Product: KScreen
      Version First 6.8.2
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
I use a two-screen setup at work, the screens are connected to a USB-C dock,
the laptop is connected to the dock. I have multiple activities with multiple
desktops. For each activity there are different icons on the desktops by
setting different folders in Desktop/Location/Custom Location. The icons are
arranged; i.e. they are not in alphabetical order. 

If I set my laptop to sleep, remove the dock and then wake up (so only the
built-in screen will be available), sometimes, approx. 6 out of 10 times, the
icons in one or more (but not all) activities get rearranged alphabetically
either horizontally or in some cases vertically. In the latter case I should
scroll the desktop to access all icons if their number is bigger than the
number of rows. 

The same happens in reverse order. If I send the computer to sleep with using
only the built in screen, connect the dock and wake up the computer, sometimes
(approx in 60% of the cases) the icons on one or more, but never all activities
will be arranged alphabetically either horizontally or vertically.

All this happens also with only one screen attached to the dock.

Additionally if my laptop turns of the screens after a certain timeout (the
laptop is not sleeping), after resuming work sometimes desktop in the current
activity on the no-primary screen becomes empty. In this case the location
(which is still correctly set) should changed back and forth to get back the
icons.

STEPS TO REPRODUCE
1. Create multiple activities and multiple desktops, set separate folder for
each desktop, create icons and arrange them.
2. Set the computer to sleep
3. Change display config during sleep; e.g. remove the laptop from the dock or
connect to the dock.
4. Wake up

OR 

2. wait for the screens to be turned off
3. resume your work

OBSERVED RESULT
The icons of one or more activities will get rearranged or the desktop on the
no-primary screen in the current activity becomes empty.

EXPECTED RESULT
The original arrangement should be kept.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): openSUSE Tumpleweed 20261103
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

ADDITIONAL INFORMATION
Because it does not happen always, I suspect it to be some race condition
resulting in a temporary incorrect display geometry. I can run any tests,
provide logs, etc, just give guidance on what is needed.

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

Reply via email to