Bug 476103

Summary: Dolphin auto selects all when trying to SHIFT move files (after having used CTRL + A and using CTRL + click to deselect folders)
Product: [Applications] dolphin Reporter: wooden445
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kfm-devel, p.r.worrall
Priority: NOR    
Version: 23.04.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wooden445 2023-10-26 03:38:24 UTC
SUMMARY
Dolphin automatically re-selects all folders when trying to SHIFT move files after having used CTRL + A and then CTRL + click to deselect said folders.

STEPS TO REPRODUCE
1. Open a folder containing files and folders.
2. Press CTRL + A to select everything.
3. Hold CTRL and click the folders to de-select them.
4. Try to SHIFT + move (move files without confirmation dialogue) the files into one of the folders.

OBSERVED RESULT
All folders become selected, along with the already selected files.

EXPECTED RESULT
That nothing happens, and SHIFT + move only moves the selected files.

SOFTWARE/OS VERSIONS
Ubuntu (Kubuntu): 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
If the folder only contains files + 1 folder, nothing happens if you try to move everything to the automatically selected folder. 

If the folder contains files + a folder called "a" and a folder called "New Folder", and you try to move everything to New Folder, nothing happens. If you try to move everything to folder "a", you get an error saying "This action would overwrite '/path/to/a' with itself. Please enter a new file name".

If you use CTRL + A to select all, and then CTRL + click the folder(s), and then CTRL + click a file, when you try to SHIFT + move the selected files, the de-selected file gets selected automatically, and if you complete the move, all files are moved.
If you use CTRL + A to select all, and then CTRL + click a file, and then CTRL + click the folder(s), everything (folders and files) is selected again.

Box selecting the files normally and then using SHIFT move works as expected.
Comment 1 Paul Worrall 2023-10-26 13:16:08 UTC

*** This bug has been marked as a duplicate of bug 465387 ***