SUMMARY My desktop is set to sort files by name, with locked icons. When I drag a file from Dolphin to the desktop, the file is placed under the cursor and the Sort By option reverts to unsorted, despite the Locked option being set. STEPS TO REPRODUCE 1. Lock desktop icons and set Sort By to something other than Unsorted 2. Drag a file from Dolphin to the desktop OBSERVED RESULT The file is placed under the cursor and the Sort By option reverts to Unsorted EXPECTED RESULT The file is sorted and placed as if it were pasted with ctrl+v, and the Sort By option doesn't change SOFTWARE/OS VERSIONS Operating System: NixOS 24.05 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.6.18 (64-bit) Graphics Platform: Wayland Processors: 24 × 13th Gen Intel® Core™ i7-13700F Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 6800 XT ADDITIONAL INFORMATION
It looks like it's interpreting your drag as the desire to place those icons in the specified location, which would have to reset the sort mode to "Unsorted" to make it happen. Instead it should disable the "drop icons at this specific location" feature when the sort mode is something other than "Unsorted"
Well, well... Losing sorting configuration of icons on desktop is an old Plasma bug, and I thought of it a few hours ago. I never reported it before because I didn't know what steps exactly were triggering it. But finally someone found the cause. Thank you, Marco. :)
When not using the "Unsorted" mode, it should really just prevent you from moving icons at all, rather than letting you do it and then secretly changing the sorting mode.
SUMMARY: This issue also happens when creating new items on the desktop (e.g., new folders or files) using the context menu option Create New > (item type). STEPS TO REPRODUCE: 1. Ensure the desktop's Icons > Sort By is set to Name. 2. Right-click on the desktop and select Create New > (any item type). 3. Give the item any name. OBSERVED RESULT: The item is created close to where the right-click occurred, and the user's Sort By preference changes to Unsorted, whether or not Icons is set to Locked. EXPECTED RESULT: The item should be created and placed within the logical sorting order as deteremined by the user's Sort By preference, and the preference should be retained. SOFTWARE/OS VERSIONS: Operating System: Arch Linux (rolling) KDE Plasma version: 6.2.5 KDE Frameworks version: 6.10.0 Qt version: 6.8.1 Kernel version: 6.12.10-arch1-1 (64-bit) Graphics platform: Wayland HARDWARE: Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor Memory: 62.4 GiB of RAM Graphics processor: AMD Radeon RX 6600
*** Bug 501930 has been marked as a duplicate of this bug. ***