Bug 482470 - Desktop folder view's "Sort By" option reverts to "Unsorted" when adding files to the desktop via any method
Summary: Desktop folder view's "Sort By" option reverts to "Unsorted" when adding file...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 501930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-05 13:43 UTC by Marco Rebhan
Modified: 2025-03-25 23:05 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rebhan 2024-03-05 13:43:32 UTC
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
Comment 1 Nate Graham 2024-03-05 21:33:03 UTC
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"
Comment 2 Patrick Silva 2024-03-06 01:14:53 UTC
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. :)
Comment 3 Nate Graham 2024-03-06 17:17:29 UTC
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.
Comment 4 Rudy Valencia 2025-02-09 00:51:24 UTC
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
Comment 5 Nate Graham 2025-03-25 23:05:30 UTC
*** Bug 501930 has been marked as a duplicate of this bug. ***