Bug 442160

Summary: Can not use shift+click to select a range
Product: [Applications] dolphin Reporter: grannie
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fanzhuyifan, john.kde, ken, kfm-devel, nate
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description grannie 2021-09-08 08:16:02 UTC
When I mark a file, press the shift key and click on another file, all files in between should be marked
at the moment it behaves like I pressed the ctrl key, i.e. only the earlier marked file and the new file are marked (not the files in between)

Can s.o. confirm that?
Comment 1 Nate Graham 2021-09-08 22:41:45 UTC
No, it works for me. :)
Comment 2 grannie 2021-09-12 12:36:05 UTC
Interesting - how do I debug such a thing?
Comment 3 John Veness 2023-10-10 11:36:46 UTC
I have managed to reproduce this issue, although only in certain circumstances, as given below:

1, In System Settings, make sure that "Workspace Behaviour, General Behaviour, Clicking files or folders" is set to "Open them" (i.e. single-click mode)
2, Open Dolphin
3, Navigate to a folder with multiple items in it
4, Ensure no items are currently selected
5, Click on a column heading to sort by that column (this step is important - without it, the reproduction doesn't work)
6, Select a single item by dragging a short distance vertically
7, Hold Shift
8, Click on another item some way away from the first item and note that only first and last item are selected, not all those in between

Subsequent shift-clicks do work as expected, just the first one doesn't, and this is only reproducible if you do the click on column heading just before selecting the first item.
Comment 4 John Veness 2023-10-10 11:37:35 UTC
Sorry, I forgot to add:

Operating System: openSUSE Tumbleweed 20231006
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.4-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G4
Comment 5 fanzhuyifan 2024-02-16 06:17:45 UTC
Can't reproduce on 24.01.95. Feel free to reopen if you still see this issue in the latest version.