KDE - Desktop icon peculiarities

Hi!

Have a TW KDE 64bit from last winter, working fine so far.
For some weeks now, the desktop icons get re-arranged some nights when the machine is running but the monitor is turned off. Sometimes the icons get arranged alphabetically in colums to the left of the Desktop, sometimes the icons all jump some positions across the Desktop.

If I download a new file to the Desktop, it doesn’t appear on the Desktop (even after “Refresh” in context menu repeatedly). But the file is visible in the Desktop folder with Dolphin.

When copying fileswith Dolphin from some other location to the Desktop folder, the file becomes visible on the Desktop immediately.

Any ideas what is borked here? And: No, I can’t create a new user, I need this special user for accessing shares and other machines…

Okay, you “can not create a new user” and I understand you do not want to switch but can still create that new user an have it active overnight, that way you know if it is user specific or not and that helps debugging.

What you could do is rest your desktop settings, see for example How reset all KDE settings?

Many thanks for replying! The Desktop icon re-shuffle by far does not happen every night! Sometimes it happens after reboot, but mostly after a night the monitor has been turned off (every 5-10th night). I turned on screen saver instead of turning off the monitor, that worked 3-4 nights, then th icons were alphabetically arranged in columns to the left again.

It is really, really annoying. I now gave up on re-arranging the icons back into a functional position. No idea how to tackle something brainless like this…

Okay, thinking about how to debug this, I think the action to re-arrange the icons is send through D-Bus.

So I would install a D-Bus sniffer, find the KDE way of rearranging these icons using a short-cut-key, execute that so you can find in the sniffer log what happens on the bus. If you do not see it you might need to enable monitoring the system bus.

I expect that using this way you can find the culprit.

Hi again!

I tried wireshark on “Dbus-system” (there is also “Dbus-session”), but get spammed with

No.	Time	Source	Destination	Protocol	Length	Info
2	0.197973	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
3	0.699482	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
4	1.199935	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
5	1.701421	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
6	2.201773	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
7	2.703671	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
8	3.203639	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
9	3.704672	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
10	4.205129	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
11	4.706067	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
12	5.207567	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
13	5.707972	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
14	6.208828	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
15	6.709774	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
16	7.210698	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
17	7.711617	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
18	8.212582	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
19	8.713148	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
20	9.214032	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
21	9.716003	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
22	10.215926	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
23	10.716851	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
24	11.217774	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
25	11.719280	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
26	12.219610	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
27	12.720804	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
28	13.221150	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
29	13.722691	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
30	14.223451	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
31	14.723926	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
32	15.224807	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
33	15.726219	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
34	16.227117	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
35	16.728148	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
36	17.229027	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
37	17.730015	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
38	18.230838	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
39	18.731781	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
40	19.232205	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
41	19.733124	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
42	20.234053	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
43	20.734978	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
44	21.235925	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
45	21.736771	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
46	22.237688	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
47	22.738615	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
48	23.239560	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
49	23.740508	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
50	24.241394	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
51	24.742288	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
52	25.243218	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2
53	25.744143	:1.4		D-Bus	292	* PropertiesChanged() @ /org/freedesktop/NetworkManager/Devices/2

I have no idea what D-bus does…

So, I tried both “Dbus-system” and “Dbus-session”, started wireshark and right-clicked the Desktop, chose “Icons” and “Sorting: Name”, clicked “Apply” and the Icons got arranged to the left (chosen “Top to Bottom” and “Align left”), but wireshark recorded nothing.

The spam above was with wireshark for root, but same result (no dbus commands recorded on re-arranging desktop icons) when using wireshark as my user on both “Dbus-system” and “Dbus-session”…

Why do you believe that wireshark does capture dbus events? The link which marel provided to you gives you enough hints what the right tools are…

Because wireshark does actually capture some dbus event? :smiley:

Is this really true that I have to track dbus to find some random application (nothing really running over night…) that is resetting at absolutly random intervals but always when monitor is turned off or screen saver running the position of desktop icons?

Sounds more than strange…

This morning the icons got arranged in columns to the left again.

New symptom: If I download a file to the Desktop or store a screenshot to the Desktop the file does not show up on the Desktop. In Dolphin I see the file in the folder /Desktop for the user…

Will the next step look like this here:

?

Did you lock the ICONS???

I tried that in the past, but not currently. iirc the icons got re-arranged anyway…

It’s a known bug,

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

OMG…

Nate Graham 2023-03-08 15:32:37 UTC

Unfortunately we’ve discovered that icon positioning is in largely the same boat as multiscreen positioning prior to Plasma 5.27: it’s sort of fundamentally broken by design and requires a re-write to prioritize robustness and simplicity of design. So until that gets done (probably for Plasma 6.0) it’s likely that this stuff will keep happening. :confused: There are many many causes.