Bug 513752

Summary: Config data for permanently deleted desktop files/folders is inappropriately retained
Product: [Plasma] plasmashell Reporter: Fernando M. Muniz <fernandommuniz>
Component: Desktop icons & Folder View widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: hein, nate
Priority: NOR Keywords: usability
Version First Reported In: 6.5.4   
Target Milestone: 1.0   
Platform: CachyOS   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=496556
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Issue on Plasma 6.5.4
Issue on Plasma 6.5.4

Description Fernando M. Muniz 2025-12-23 19:13:36 UTC
Created attachment 187912 [details]
Issue on Plasma 6.5.4

STEPS TO REPRODUCE
1. Delete a file.
2. Rename a file to the same name of the deleted file.

OBSERVED RESULT
The file moves to where the previous one with that name was, which likely means that the system is storing names.

EXPECTED RESULT
Deleted files' names should not be stored, which would allow the file to remain in its place.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Nate Graham 2025-12-23 19:37:49 UTC
In your screenshot, how did you delete "A.webm"

Are you able to verify that "A.webm" is listed somewhere in ~/.config/plasma-org.kde.plasma.desktop-appletsrc?
Comment 2 Fernando M. Muniz 2025-12-23 19:41:39 UTC
(In reply to Nate Graham from comment #1)
> In your screenshot, how did you delete "A.webm"
> 
> Are you able to verify that "A.webm" is listed somewhere in
> ~/.config/plasma-org.kde.plasma.desktop-appletsrc?

I checked and there's no "A.webm".
Comment 3 Nate Graham 2025-12-23 19:43:38 UTC
Thanks. And how did you delete "A.webm" originally?
Comment 4 Fernando M. Muniz 2025-12-23 19:53:06 UTC
Created attachment 187914 [details]
Issue on Plasma 6.5.4

It seems it's not related to deleted files (see attachment).

There are two anomalies:
1- It's not staying in the same place.
2- It's Going to the second place in the grid.