Bug 467239

Summary: Shift-selecting files and then clearing the filter bar causes in between files to be selected too
Product: [Applications] dolphin Reporter: mattbomb
Component: bars: filterAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description mattbomb 2023-03-12 12:12:32 UTC
SUMMARY
***
Shift-selecting files causes in between files to be selected too when clearing filter bar. This happens when you shift-select with the keyboard as well as when you shift-select using mouse clicks. 
However box-selecting using the mouse does not cause the same error. 
***
STEPS TO REPRODUCE
1. Create file1.txt, file2.md, file3.txt, file4.md and file5.txt
2. Use the keyword txt in the filter bar to display only the 3 txt files
3. Shift-select all 3 files using arrow keys or mouse clicks
4. Clear the filter bar

OBSERVED RESULT
When clearing the filter bar file2.md and file4.md are selected as well as the txt files

EXPECTED RESULT
The txt files should be selected but not the md files


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 5.15.94.1 / KDE 5.26.5
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
The expected result occurs if you box-select with the mouse.