Bug 467405 - Desktop Icons that were arranged in a custom order become alphabetically sorted automatically after a period of time
Summary: Desktop Icons that were arranged in a custom order become alphabetically sort...
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.27.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-15 16:25 UTC by waldostealthmode
Modified: 2023-08-28 21:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description waldostealthmode 2023-03-15 16:25:04 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have lots of folders, files, shortcuts on desktop
2. Sleep or restart
3. 

OBSERVED RESULT
Files and folders moved around in a partially random fashion

EXPECTED RESULT
Desktop files would stay in correct manually sorted positions

SOFTWARE/OS VERSIONS
All latest

ADDITIONAL INFORMATION
Comment 1 waldostealthmode 2023-03-15 16:28:28 UTC
I use the desktop heavily, and it has been unusable since I updated end of February. I have no idea why it wasn't affecting me until then.

There seems to be a minor pattern in how the icons end up, sometimes, like there's something attempting to tie them down that just stretches, but there's a lot of noise affecting whatever pattern it is

I never change screen resolution

changing alignment does always clearly change how the icons are aligned in a somewhat predictable way, like, I can see the icons that used to be in the top left changing to bottom left or top right when I change either alignment top to bottom or left to right respectively, but there is always some randomness applied to where they end up

I followed a random reddit thread and deleted /home/cache/icon-cache.kcache and rebooted.
This worked for one restart, but not afterwards.

I switched a bunch of the alignment settings back and forth before I deleted the file the first time, and now it's all lumped together on the left side of the screen. Seems to be ordered alphabetically now

Lastly, waking from suspend doesn't always cause them to move. It seems to be correlated to the amount of time it has been suspended (longer more likely)
Comment 2 Nate Graham 2023-03-15 20:22:50 UTC
Sorry this is happening. I have some questions to help get to the bottom of it:
1. How many screens do you have and how are they physically connected?
2. Are you using the X11 or Wayland session? Does it happen in both session types, or only one?
3. If you restart plasmashell by running `systemctl restart --user plasma-plasmashell.service` in a terminal window, is the old positioning restored?
Comment 3 waldostealthmode 2023-03-15 20:27:36 UTC
(In reply to Nate Graham from comment #2)
> Sorry this is happening. I have some questions to help get to the bottom of
> it:
> 1. How many screens do you have and how are they physically connected?
> 2. Are you using the X11 or Wayland session? Does it happen in both session
> types, or only one?
> 3. If you restart plasmashell by running `systemctl restart --user
> plasma-plasmashell.service` in a terminal window, is the old positioning
> restored?

1. Only one physical screen. HDMI, through dedicated GPU
2. X11 weirdly. I thought I installed wayland during initial setup, but x11 is what's running in task manager
I'll check once I figure out how to switch to wayland
3. Haven't slept the system since I last sorted it out again, but it doesn't break anything when I do it while it's sorted the way I want it.
I'll get back to you on that later
Comment 4 waldostealthmode 2023-03-15 23:18:05 UTC
(In reply to Nate Graham from comment #2)
> Sorry this is happening. I have some questions to help get to the bottom of
> it:
> 1. How many screens do you have and how are they physically connected?
> 2. Are you using the X11 or Wayland session? Does it happen in both session
> types, or only one?
> 3. If you restart plasmashell by running `systemctl restart --user
> plasma-plasmashell.service` in a terminal window, is the old positioning
> restored?

using the command does nothing to fix it once it borks

also, this time, it managed to screw itself up without even suspending. I just left my computer for a few minutes and off it goes.
Comment 5 waldostealthmode 2023-03-16 03:27:20 UTC
How do I use wayland?
Comment 6 Nate Graham 2023-03-16 03:33:52 UTC
(In reply to waldostealthmode from comment #5)
> How do I use wayland?
Log out. Then in the login screen, click the session chooser in the bottom left corner. Select "Plasma (Wayland)" and then log in.
Comment 7 waldostealthmode 2023-03-16 07:20:22 UTC
Using wayland does not change anything, aside from ignoring x11 ordering rules it seems
Comment 8 Bug Janitor Service 2023-03-31 03:45:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Nate Graham 2023-04-09 20:33:20 UTC
So you're saying that the icons on your desktop literally re-arranged themselves while nothing else was happening? That would be extremely odd.

Are you using any 3rd-party software that could help to explain this behavior? For example anything that manipulates or in any way affects the desktop, wallpaper, resolution, or panels.
Comment 10 waldostealthmode 2023-04-09 20:48:24 UTC
Yes.

I changed something such that they always arrange into alphabetically sorted columns now (except for one time when I caught them following the same randomized noise pattern as before, then changed to alphabetically sorted later, again without me touching them in between)

Packages I've installed that could potentially affect things like that (I think, based on my limited knowledge):

Steam, wine, KVM virt manager and related dependencies (though I think I installed that after this started happening), elisa (maybe? I'm stretching there)

Away from my desktop for this week, but I'll add more to that list when I get back if I forgot any major ones

This is a relatively new install too. This year, around 1st week of Jan, so very few orphaned or outdated packages. Very few programs other than the ones I consider part of the basics. Like, Maybe 4 things installed from aur - through yum, 1 app image, and nothing from snap or flatpack
Comment 11 Nate Graham 2023-04-10 15:13:48 UTC
So you arranged your icons in alphabetically sorted columns (left or right aligned?) and then... what happened? How did they move?

It would be really helpful if you can come up with a reproducible set of steps. Otherwise I doubt we'll be able to fix it. :/ Totally random bugs are generally almost impossible to fix.
Comment 12 waldostealthmode 2023-04-10 16:30:33 UTC
Sorry, I wasn't clear

I mean, I arrange them in a custom pattern spread out around the screen, then, they used to rearrange themselves somewhat randomly (but somehow almost following my custom order, as if they were on physical shelves that got bumped violently) now they rearrange themselves into alphabetical order.

My custom arrangement is, 1 block of icons in a row at the top left, one row at the top right, two rows on top of each other in the bottom left, and two rows in the middle left.
Comment 13 waldostealthmode 2023-04-10 16:34:01 UTC
Unfortunately those are the only reproducible steps I have

Put icons in custom arrangement, with gaps between, wait like, 20 minutes, or sleep for 20 minutes, then come back to them having magically rearranged.

I don't do anything else.

Hopefully when I get a more complete list of packages installed you can reproduce? Maybe?

Is there a relevant console log I should have open and post when I get a chance?
Comment 14 Nate Graham 2023-04-10 16:47:34 UTC
> now they rearrange themselves into alphabetical order
So now you're seeing that after the screen or computer (which one?) goes to sleep your icons are re-arranged to be in alphabetical order?
Comment 15 waldostealthmode 2023-04-10 16:53:20 UTC
Time seems to be the only consistent factor. If enough time has passed, they will rearrange.

That time can be passed while the computer is suspended, but doesn't have to be. At first I thought it was related only to suspends and reboots, but since then it has happened without that several times.

Pretty sure its happened even before the screen sleeps.

Its like the custom order is only being saved to a volatile cache file and not the disk I guess.
Comment 16 Nate Graham 2023-04-11 15:39:34 UTC
That is so weird. It doesn't make any sense to me. I've never heard another case of desktop icons moving with no external trigger like boot-up, suspend/resume, plugging/unplugging an external screen, etc.
Comment 17 waldostealthmode 2023-04-11 16:54:51 UTC
¯\_(ツ)_/¯

I have historically had bad luck with finding random ass bugs and stuff it seems.

I could just have a tech demon/gremlin following me around.

Or maybe I just do uncommon things with my tech a lot.

But as I said, I haven't installed anything that weird on this system yet.
Comment 18 Bug Janitor Service 2023-04-26 03:46:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 waldostealthmode 2023-04-26 14:05:00 UTC
Well

Frustratingly good news

It appears to have fixed itself

Either having to do with latest update, or the other thing that changed was moving most of my steam games to a new ssd, freeing up a ton of storage on my boot drive

I already had upwards of 200 gigs free when it started happening, but those are the only important things that changed.

whatever. we can close this for now it seems
Comment 20 waldostealthmode 2023-04-27 06:23:34 UTC
Nevermind I spoke too soon.

A slight change from the alphabetical sorting due to deleting some folders survived one or two reboots, but now that I've tried to take advantage of that to put the icons where I actually wanted them, it has reverted after a several hours and a couple screen locks
Comment 21 Nate Graham 2023-04-27 16:11:26 UTC
Could maybe be related to bug 466869.