Bug 467239 - Shift-selecting files and then clearing the filter bar causes in between files to be selected too
Summary: Shift-selecting files and then clearing the filter bar causes in between file...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: filter (show other bugs)
Version: 22.12.2
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-12 12:12 UTC by mattbomb
Modified: 2023-03-12 12:12 UTC (History)
1 user (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 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.