Created attachment 166354 [details] files drag+dropped on the desktop SUMMARY After I drag&dropped 2 files from a window in dolphin onto the desktop, one file was gone. It I could see both of them in the 'Desktop' folder in Dolphin. It turns out that they are placed on top of and not next to each other. When you press 'Ctrl + A' on the desktop to delete the files, you still only select the top file. After the top file is deleted, the bottom one shows up. STEPS TO REPRODUCE 1. Drag&Drop two files from a folder from the file manager onto the workspace OBSERVED RESULT Files are placed on top of each other and only one file is visible EXPECTED RESULT Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics Memory: 30.7 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: Micro-Star International Co., Ltd. Product Name: Bravo 17 A4DDR System Version: REV:1.0 ADDITIONAL INFORMATION (No idea if this is in the right bug category, but I had no idea where to put it)
Created attachment 166355 [details] desktop folder in dolphin
Created attachment 166357 [details] two files drag+dropped on the desktop
Can reproduce. Thankfully restarting plasmashell makes the other files appear in the top-left-most position, rather than at the dragged position.
Interestingly this seems to happen only when folderview is used as a Containment, but not when used as an Applet, so must be in the differences there, perhaps in Positioner
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2085
Git commit 337a95c328ae380e275adeab14f827ae36d03fb6 by Marco Martin. Committed on 06/03/2024 at 17:04. Pushed by mart into branch 'master'. Don't overwrite files in the model positions on drop When dropping multiple files, Positioner calculated the same drop index for all of the files, obtaining a wrong final model. Make sure every move is mapped to an empty space so that every dropped file ends up in the final mapped model M +8 -3 containments/desktop/plugins/folder/positioner.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/337a95c328ae380e275adeab14f827ae36d03fb6
Git commit 2d56a5a01fdc25d381784ae5c6f3c88674c568d5 by Marco Martin. Committed on 06/03/2024 at 17:06. Pushed by mart into branch 'Plasma/6.0'. Don't overwrite files in the model positions on drop When dropping multiple files, Positioner calculated the same drop index for all of the files, obtaining a wrong final model. Make sure every move is mapped to an empty space so that every dropped file ends up in the final mapped model M +8 -3 containments/desktop/plugins/folder/positioner.cpp https://invent.kde.org/plasma/plasma-desktop/-/commit/2d56a5a01fdc25d381784ae5c6f3c88674c568d5