Bug 484766 - After deleting a file, cannot select contiguous items with shift+click
Summary: After deleting a file, cannot select contiguous items with shift+click
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 24.02.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2024-03-30 16:52 UTC by Patrick Silva
Modified: 2024-10-14 15:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2024-03-30 16:52:30 UTC
STEPS TO REPRODUCE      
1. have a folder containing 4 files. Let's call them...
file1
file2
file3
file4
2. make sure the files are sorted by name
3. select file1 and press delete key - after this step, file2 is selected
4. hold shift key and select file4

OBSERVED RESULT
only file2 and file4 are selected

EXPECTED RESULT
all files in the folder are selected

Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 1 Huanyu Liu 2024-10-14 15:04:04 UTC
Here is another set of steps to trigger a similar bug:
1. Make sure Ark is installed
2. Have a folder containing the 4 files "file1", "file2", "file3", "file4"
3. Make sure the files are sorted by name
4. Right-click on "file1", "Compress → Compress to \"file1.zip\""; after this step, "file1.zip" should be selected automatically
5. Hold Shift key and select "file4"

Only "file1.zip" and "file4" are selected.

If you hold Shift key and select "file2", you will find all files between "file2" and "file4" are selected. In other words, although "file1.zip" is selected automatically after compressing, it is not recognized as the starting point of Shift+Selection; only the manually selected "file4.zip" will be treated as the starting point.

System information:
Operating System: Arch Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland