Bug 503061

Summary: Desktop icons change position when the monitor is turned off and on
Product: [Plasma] plasmashell Reporter: zupnikszydlik
Component: Desktop icons & Folder View widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hein, kdedev
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: pic1
pic2
pic3
pic4
ev1
ev2
ev3
ev4
ev5
ev6
edit1
edit2
edit3
edit4
edit on new account

Description zupnikszydlik 2025-04-20 13:46:40 UTC
Created attachment 180432 [details]
pic1

SUMMARY
When the monitor is turned off and on again, the desktop icons change their positions. This bug has been present since the first release of Plasma 6 and has still not been fixed. Initially, the desktop would expand, allowing you to scroll due to icon placement, but now the icons move completely at random. This issue is particularly frustrating as it can even be triggered by the screensaver.

STEPS TO REPRODUCE
1. Turn off monitor
2. Turn on monitor

OBSERVED RESULT
Desktop icons change their position

EXPECTED RESULT
Desktop icons stay in their position

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.6.85-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070


ADDITIONAL INFORMATION
Problems:
1. 'plasma-org.kde.plasma.desktop-appletsrc' does not update after a directory on the desktop has its name changed. It continues to show the previous name as another item.
2. After turning on the monitor, the positions of the desktop icons change, and the data in 'plasma-org.kde.plasma.desktop-appletsrc' also updates.

What I included:
- Screenshots (pic1, pic2, pic3, pic4)
- Videos (ev1, ev2, ev3, ev4, ev5)
   - When I turn off and on my monitor, you can hear a sound from Plasma (similar to disconnecting a device).
- Changes in 'plasma-org.kde.plasma.desktop-appletsrc' (edits)

What I did:
- Tested on a new account created in version 6.3.3
- Created a new account in version 6.3.4
Both accounts experienced the same problems.

My thoughts:
There seems to be an issue with maintaining the `plasma-org.kde.plasma.desktop-appletsrc` file. The positions of the icons change, and perhaps the file is storing incorrect data that fails to update properly.

************

Evidence:
1. Changed the name of the directory from "lol" to "Items" but the entry for "lol" was still present in 'plasma-org.kde.plasma.desktop-appletsrc' (pic1). (bug?)
2. Pic2 and pic3 show changes in 'plasma-org.kde.plasma.desktop-appletsrc':
   - The first change occurred after moving one file from another directory to the desktop.
   - The second change occurred after creating two new files.
    I think those are normal.

Videos:
1. ev1
- Shows the change in the position of files. However, 'plasma-org.kde.plasma.desktop-appletsrc' was NOT edited by Plasma—it was just loaded (edit1)(strange).
2. ev2
- Demonstrates the removal of the section related to the no-longer-existing "lol" directory and the position change of icons.
- Note how only 'new1.txt' changed its position.
- Also, 'plasma-org.kde.plasma.desktop-appletsrc' updated after turning on the monitor (edit2)/(pic4).
3. ev3
- Added several new files, causing 'plasma-org.kde.plasma.desktop-appletsrc' to update (edit3).
- The video shows the icons' positions changing, and the 'plasma-org.kde.plasma.desktop-appletsrc' file also updating (edit4).
4. ev4
- Several files were deleted, and the 'plasma-org.kde.plasma.desktop-appletsrc' file updated; however, the problem persisted.
5. ev5
- Additional video evidence.
6. ev6
- Shows a brand-new account (created on 6.3.4) experiencing the same symptoms (edit-new-account).
Comment 1 zupnikszydlik 2025-04-20 13:47:11 UTC
Created attachment 180433 [details]
pic2
Comment 2 zupnikszydlik 2025-04-20 13:47:28 UTC
Created attachment 180434 [details]
pic3
Comment 3 zupnikszydlik 2025-04-20 13:47:42 UTC
Created attachment 180435 [details]
pic4
Comment 4 zupnikszydlik 2025-04-20 13:48:29 UTC
Created attachment 180436 [details]
ev1
Comment 5 zupnikszydlik 2025-04-20 13:48:48 UTC
Created attachment 180437 [details]
ev2
Comment 6 zupnikszydlik 2025-04-20 13:49:03 UTC
Created attachment 180438 [details]
ev3
Comment 7 zupnikszydlik 2025-04-20 13:49:39 UTC
Created attachment 180439 [details]
ev4
Comment 8 zupnikszydlik 2025-04-20 13:50:03 UTC
Created attachment 180440 [details]
ev5
Comment 9 zupnikszydlik 2025-04-20 13:50:16 UTC
Created attachment 180441 [details]
ev6
Comment 10 zupnikszydlik 2025-04-20 13:50:54 UTC
Created attachment 180442 [details]
edit1
Comment 11 zupnikszydlik 2025-04-20 13:51:07 UTC
Created attachment 180443 [details]
edit2
Comment 12 zupnikszydlik 2025-04-20 13:51:21 UTC
Created attachment 180444 [details]
edit3
Comment 13 zupnikszydlik 2025-04-20 13:51:41 UTC
Created attachment 180445 [details]
edit4
Comment 14 zupnikszydlik 2025-04-20 13:52:11 UTC
Created attachment 180446 [details]
edit on new account
Comment 15 TraceyC 2025-04-21 17:42:00 UTC
I'm sorry you're still experiencing this. This looks like bug 490891, I'll add your comments to that report. Please follow that report for updates on the issue. Thanks.

*** This bug has been marked as a duplicate of bug 490891 ***
Comment 16 zupnikszydlik 2025-04-22 00:44:51 UTC
(In reply to TraceyC from comment #15)
> I'm sorry you're still experiencing this. This looks like bug 490891, I'll
> add your comments to that report. Please follow that report for updates on
> the issue. Thanks.
> 
> *** This bug has been marked as a duplicate of bug 490891 ***

Thank you for your response and for adding my comments to the report.
If you need more info, I'll send you whatever you need.
I’ll follow the updates. Appreciate your help!