Bug 457707

Summary: File selection is changed when SHIFT is pressed to move files to a subfolder
Product: [Applications] dolphin Reporter: BOF <bugs_kde_org.5.kuru>
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel
Priority: NOR    
Version: 22.04.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KDE dolphin - select and move files to subfolder

Description BOF 2022-08-10 07:56:12 UTC
Created attachment 151218 [details]
KDE dolphin - select and move files to subfolder

SUMMARY
When multiple files are selected and the SHIFT button is pressed to move files to a subfolder without any context menu, multiple files are selected that were not selected before


STEPS TO REPRODUCE
1. Go to a folder with multiple files and a subfolder
2. Select multiple files (eg. 2, 4 and 10 - the order is important for this one)
3. Hold the SHIFT key and drag the group of selected files *from the first file*

OBSERVED RESULT
When file eg. 10 is selected last and the SHIFT+drag is performed on file 2 (not the last one you clicked on) multiple files are selected as if you wanted to select multiple files with holding down the SHIFT key.

EXPECTED RESULT
No additional files are selected and only the files that were selected before would be moved.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-43-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Untested on Wayland for this moment (will be done so soon)
Comment 1 BOF 2022-08-10 08:03:42 UTC
Test on wayland (same system logged in with Wayland):
It works pretty much the same as described above. The main difference is that you can drag the files and then press SHIFT to perform a move function on X11. So when you don't already hold SHIFT when you click on the first image you will not notice this bug.

On Wayland you have to hold the SHIFT key *before* you move the files or you will get a menu that asks you what to do.