Bug 461793

Summary: Files with custom positions lose their position after rename and Plasma restart
Product: [Plasma] plasmashell Reporter: Friedrich W. H. Kossebau <kossebau>
Component: Desktop icons & Folder View widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: hein, nate
Priority: NOR Keywords: regression
Version First Reported In: 5.26.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.3
Sentry Crash Report:

Description Friedrich W. H. Kossebau 2022-11-13 20:36:26 UTC
SUMMARY
When renaming a file in a folder containment which has a custom position, it will be repositioned after Plasma restart to the first free position in the topleft ordering.

STEPS TO REPRODUCE
1. Move a file to a random position, e.g. bottom-right.
2. Rename the file, e.g. via context menu.
3. Restart Plasma

OBSERVED RESULT
File is moved to first free position in the normal ordering.

EXPECTED RESULT
File keeps it position.
Comment 1 Friedrich W. H. Kossebau 2022-11-13 20:45:02 UTC
Fixes things for me: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2320
Comment 2 Nate Graham 2022-11-14 21:52:13 UTC
Can reproduce.
Comment 3 Nate Graham 2024-10-31 21:15:00 UTC
Aha, Akseli fixed this recently with https://invent.kde.org/plasma/plasma-desktop/-/commit/a09deaf84d8b8c1b46a55c66a04cf2477fa0a332