Created attachment 178198 [details] File selection bug introduced in Plasma 6.3. SUMMARY Selecting multiple icons on the desktop is broken since Plasma 6.3. When the cursor stops over an icon after dragging the selection marker for multiple files, only the hovered icon is selected. STEPS TO REPRODUCE 1. Start selecting multiple files on the desktop by clicking an empty space and drag across files. 2. Release mouse on top of an icon. OBSERVED RESULT Only the hovered icon is selected. EXPECTED RESULT All icons that were in the selection marker is selected. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon 6.3 KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION The attached video demonstrates this bug. The first selection in the video, which ends by releasing the mouse outside the icons, works OK. The second selection demonstrates this bug; all files except the hovered one gets deselected with the mouse release. This happens only in Wayland sessions, X11 is not affected. Also single/double click option in the System Settings does not affect this bug.
For me it seems to fail every other try.
Reverting "FolderView: Performance improvements for selections" does *not* fix it.
*** Bug 500182 has been marked as a duplicate of this bug. ***
*** Bug 500270 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2828
Git commit 42f53e4618074d43d7956c6cbae0d5c4aa82825e by David Edmundson. Committed on 18/02/2025 at 15:42. Pushed by davidedmundson into branch 'master'. folderview: Fix drag selection There is code to handle clicking an icon when a selection is already present. In this case we want to cancel our selection and select the icon the mouse is over. What we don't want is for this to run when a drag ends. Using the cached selection is a good flag as it is immediately reset at the end of the mouse up. M +3 -1 containments/desktop/package/contents/ui/FolderView.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/42f53e4618074d43d7956c6cbae0d5c4aa82825e
Git commit ac38398263484e40dfebf42778684334ce7b55de by Nate Graham. Committed on 18/02/2025 at 18:02. Pushed by ngraham into branch 'Plasma/6.3'. folderview: Fix drag selection There is code to handle clicking an icon when a selection is already present. In this case we want to cancel our selection and select the icon the mouse is over. What we don't want is for this to run when a drag ends. Using the cached selection is a good flag as it is immediately reset at the end of the mouse up. (cherry picked from commit 42f53e4618074d43d7956c6cbae0d5c4aa82825e) Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +3 -1 containments/desktop/package/contents/ui/FolderView.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/ac38398263484e40dfebf42778684334ce7b55de
*** Bug 500350 has been marked as a duplicate of this bug. ***
*** Bug 500046 has been marked as a duplicate of this bug. ***