Created attachment 166714 [details] PRE.PNG (Icons before) Desktop icons reset positions to alphabetical order after a long time from auto shut-off of screen STEPS TO REPRODUCE 1. Place your icons in your preferred position (f.e. see PRE.PNG attachment) 2. Configure your energy-saving like in ENERGYSAVING.PNG mode 3. Configure your icons order Desktop->Icons->Order->Not Ordered 4. Leave the PC for 30-40 minutes EXPECTED RESULT 1. The screen goes off after 10 minutes 2. after 20-30 minutes further, move the mouse, unlock the PC and you should find the icons as you previously arranged them. OBSERVED RESULT 1. The screen goes off after 10 minutes 2. after 20-30 minutes further, move the mouse, unlock the PC and you will discover that the position of the icons has changed and they are now arranged alphabetically starting from the left (see POST.PNG attachment) SOFTWARE/OS VERSIONS Linux: 6.7.8 KDE Plasma Version: 6.01 KDE Frameworks Version: 6.01 Qt Version: 6.6.2 ADDITIONAL INFORMATION None
Created attachment 166715 [details] POST.PNG
Created attachment 166716 [details] ENERGYSAVING.PNG
NOTE: This bug has persisted since KDE 5, but for about 2 months it seemed to have disappeared. It reappeared yesterday, with the upgrade to kde 6.01.
Note: the bug persists in version 6.02, under Wayland graphics server.
Note: my screen is 3840x2160. In plasma Preferences->ScreenConfiguration->Scale I have 125% set.
*** Bug 484613 has been marked as a duplicate of this bug. ***
Hello, Note: the bug persists in version 6.03.
Created attachment 168000 [details] Windows size after few hours of standby I've noticed that standby affects not only icons, but sometimes the size of windows and UI panels in qt applications
Created attachment 168001 [details] Dolphin places panel size after few hours of standby
Hello, Note: the bug persists in version 6.04.
Note: the bug persists in version 6.05.
NOTE: the bug persists in version 6.1
NOTE: the bug persists in version 6.1.1
NOTE: the bug persists in version 6.1.2
NOTE: the bug persists in version 6.1.3
There are multiple bug reports about this behavior. I'm using 468546 as the main bug report. *** This bug has been marked as a duplicate of bug 468546 ***
The bug disappeared in plasma 6.2, but the randomly alphabetical repositioning of icons reappeared in 6.2.1. This time it happens to me randomly: for example when I use the browser for an hour, when I then close it I find the icons realigned in alphabetical order starting from left to right.
Can I ask you to try to make it happen in a new clean user account *with no settings customization*? If it doesn't happen there, then it's an issue caused by some combination of settings in your main user account, and we'll need to figure out which ones. Thanks!
Created attachment 175136 [details] My Desktop at start
Created attachment 175137 [details] SCRSHOT2.png
Created attachment 175138 [details] SCRSHOT1.png
Created attachment 175139 [details] SCRSHOT3.png
(In reply to Nate Graham from comment #18) > Can I ask you to try to make it happen in a new clean user account *with no > settings customization*? If it doesn't happen there, then it's an issue > caused by some combination of settings in your main user account, and we'll > need to figure out which ones. Hi Nate. So, I did the following: 1) I created a new user with the command: $> sudo useradd -G users,wheel,video,audio,disk -m felice2 2) I exited my plasma session and re-login plasma as this new user 3) right click on the screen and checked that the icon order was "not sorted". 5) I created some directories and files and placed the group towards the center of the desktop 5) I pinned some existing directories on the desktop and randomly arranged them on the screen. 6) the result is in the screen SCRSHOT1.png 7) in the settings, power management, the default situation was the one in the screen SCRSHOT2.png. I left it unchanged. 8) I exited the session and restarted the PC. 9) After the restart, the desktop still appeared as in SCRSHOT1.png. So I left the PC alone for 30 minutes. The PC went into sleep mode after 15 minutes. 10) I woke up the PC and the desktop appeared as in the SCRSHOT3.png screen As you can see, even for a new user there are no differences: the icons are rearranged alphabetically from left to right, for no apparent reason.
Found the way to reproduce it: you have to end up with zero screens. Most screens these days don't actually completely disappear when turned off; they need to be physically unplugged for that to happen. However some do disappear when turned off. In either case, if the system is running when it encounters a "zero screens connected" situation, this issue happens.
*** Bug 494551 has been marked as a duplicate of this bug. ***
Ahh, only the first time I did it did the icons get re-arranged alphabetically. AFter that, I re-arranged them again, and now when I trigger a "zero screens connected" situation, they don't get re-arranged alphabetically but rather seemingly randomly. Looks like these are all the same bug, yeah.
*** Bug 494353 has been marked as a duplicate of this bug. ***
*** Bug 493569 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2607
Git commit cc44615b34dacc2a4acfdc82de885c943318a7f6 by Akseli Lahtinen. Committed on 06/11/2024 at 16:30. Pushed by akselmo into branch 'master'. Refactor icon positioner saving and loading The icon positioner saving and loading is handled by QML, which makes it a bit difficult to work with the logic in positioner CPP files. This change does the following: - Explicitly save only on user interactions - Moved the save and load of config to positioner.cpp - Easier debugging of the saving and loading functions - Still uses the JSON style of save/loading like the old one - Technically should be compatible with the old config, which was also JSON. - Makes positionerApplet accessible from FolderView qml - Various checks for checking if screen is enabled or not to avoid doing unnecessary work when screen is off - A lot of fixes to avoid any racing conditions - Removed any timers - Added various unit tests Alternative to https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2603 Related: bug 494874, bug 472137, bug 433867, bug 494412, bug 468619, bug 449069, bug 495047, bug 453314 FIXED-IN: 6.3.0 M +1 -1 containments/desktop/package/contents/ui/FolderView.qml M +1 -48 containments/desktop/package/contents/ui/FolderViewLayer.qml M +165 -26 containments/desktop/plugins/folder/autotests/positionertest.cpp M +18 -3 containments/desktop/plugins/folder/autotests/positionertest.h M +23 -7 containments/desktop/plugins/folder/foldermodel.cpp M +5 -0 containments/desktop/plugins/folder/foldermodel.h M +176 -60 containments/desktop/plugins/folder/positioner.cpp M +37 -8 containments/desktop/plugins/folder/positioner.h https://invent.kde.org/plasma/plasma-desktop/-/commit/cc44615b34dacc2a4acfdc82de885c943318a7f6
(In reply to Akseli Lahtinen from comment #30) > Git commit cc44615b34dacc2a4acfdc82de885c943318a7f6 by Akseli Lahtinen. > Committed on 06/11/2024 at 16:30. > Pushed by akselmo into branch 'master'. Thanks, I can't wait to try it.
Thank you for your work, and responding. I guess my action should be, load new updates.
...Once Plasma 6.3 is released, yeah! That's the version that will contain the fix.
This bug is very annoying and thank you very much for addressing it. I tried to apply the patch on fedora in the plasma-desktop-6.2.3 package. But plasmashell crashes with it right after starting. (In reply to Akseli Lahtinen from comment #30) > Git commit cc44615b34dacc2a4acfdc82de885c943318a7f6 by Akseli Lahtinen. > Committed on 06/11/2024 at 16:30. > Pushed by akselmo into branch 'master'. > > Refactor icon positioner saving and loading > > The icon positioner saving and loading is handled by QML, which makes it a > bit difficult > to work with the logic in positioner CPP files. > > This change does the following: > - Explicitly save only on user interactions > - Moved the save and load of config to positioner.cpp > - Easier debugging of the saving and loading functions > - Still uses the JSON style of save/loading like the old one > - Technically should be compatible with the old config, which was also > JSON. > - Makes positionerApplet accessible from FolderView qml > - Various checks for checking if screen is enabled or not to avoid doing > unnecessary work when screen is off > - A lot of fixes to avoid any racing conditions > - Removed any timers > - Added various unit tests > > Alternative to > https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2603 > Related: bug 494874, bug 472137, bug 433867, bug 494412, bug 468619, bug > 449069, bug 495047, bug 453314 > FIXED-IN: 6.3.0 > > M +1 -1 containments/desktop/package/contents/ui/FolderView.qml > M +1 -48 containments/desktop/package/contents/ui/FolderViewLayer.qml > M +165 -26 > containments/desktop/plugins/folder/autotests/positionertest.cpp > M +18 -3 containments/desktop/plugins/folder/autotests/positionertest.h > M +23 -7 containments/desktop/plugins/folder/foldermodel.cpp > M +5 -0 containments/desktop/plugins/folder/foldermodel.h > M +176 -60 containments/desktop/plugins/folder/positioner.cpp > M +37 -8 containments/desktop/plugins/folder/positioner.h > > https://invent.kde.org/plasma/plasma-desktop/-/commit/ > cc44615b34dacc2a4acfdc82de885c943318a7f6
This is again a thing. And still happens sometimes when the Monitor was sleeping.
(In reply to Karl Gustav from comment #35) > This is again a thing. And still happens sometimes when the Monitor was > sleeping. I haven't been able to see this fix in action yet, my version of Plasma is still stuck at 6.2.4, while the bug fix is in version 6.3.0. Have you been able to try this fix?
This bug is not fixed in plasma 6.3.0 - still happens on single display - no scaling - wayland and x11 both - single dedicated amd gpu setup when montitor turns off u can hear unplug sound and when turned on again icons are scrambled again.
Hi, as promised by Akseli Lahtinen in comment 30, in version 6.3.0 the bug has been completely fixed. Now the icons behave correctly and remain in the position where you left them even when the computer and monitor go to sleep. Thanks for your efforts.
Its def not fixewd on my end - dont make me create a new bug ticket for a 5th time with the exact same description as this. fresh install opensuse tumbleweed with plasma 6.3.0 - comepletly new user new desktop icons - still happens
William, are you using X11, or Wayland? If it happens on X11 but not Wayland, then it probably is a subtly different bug; this one occurs on Wayland. Can you check that?
as i said happens on wayland and x11 both. scrambling is not alphabetical anymore and icons even end up outside the screen area (so you have to scroll to find them) happens 100% consistently on every monitor off/on cycle.
OK here is some further test results on plasma 6.3. The issue is definitly not as bad as it was in 6.2 and icons surive a reboot all the time. The issue seems to happen for me 100% when you touches the setting to change icon order (left-to-right | top-bottom) within the current session (just via right click on desktop -> symbols -> order) and then power cycle the monitor. The icons seem to survive some power cycles and expecially on a fresh plasma bootup where this setting was never changed. So can one of you that could reproduce this issue in 6.2 check if it is happening for you when you change that setting and after that toggle the monitor off/on a couple times?
(In reply to William from comment #42) > OK here is some further test results on plasma 6.3. > The issue is definitly not as bad as it was in 6.2 and icons surive a reboot > all the time. > > The issue seems to happen for me 100% when you touches the setting to change > icon order (left-to-right | top-bottom) within the current session (just via > right click on desktop -> symbols -> order) and then power cycle the monitor. > The icons seem to survive some power cycles and expecially on a fresh plasma > bootup where this setting was never changed. > > So can one of you that could reproduce this issue in 6.2 check if it is > happening for you when you change that setting and after that toggle the > monitor off/on a couple times? I tried changing the layout of the icons (normally configured: "from left to right") to "from top to bottom". Then I turned off the monitor, waited about ten seconds, then turned it back on. The icons remained in their place (as they had been automatically ordered from top to bottom) and, restoring the original "from left to right" layout, they returned exactly where they were before I started this test. I have plasma 6.3.1. Have a nice day.
In my case the icons got rearranged after changing screen scale on plasma 6.3. Specifically, it seems that each scale has its own (random) arrangement. I'm guessing that the arrangement is saved for every scale, but it is random at the beginning. I think the icons should preserve (or at least try to preserve) the same order across all scaling factors, though, and not get a random arrangement.
(In reply to alt from comment #44) > In my case the icons got rearranged after changing screen scale on plasma > 6.3. Specifically, it seems that each scale has its own (random) > arrangement. I'm guessing that the arrangement is saved for every scale, but > it is random at the beginning. I think the icons should preserve (or at > least try to preserve) the same order across all scaling factors, though, > and not get a random arrangement. That's a different issue unrelated to this one; please open a new bug report about it. Thanks!
If the issue is solved for Linuxboy (the original reporter) that means it's fixed now. Everyone else who's still experiencing issues, please open a new bug report, as it's quite possible your issue is subtly different. Thanks!