Bug 503096 - Remember selection after using a Filter
Summary: Remember selection after using a Filter
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: filter (other bugs)
Version First Reported In: 25.04.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-21 09:48 UTC by Tuncay
Modified: 2025-04-21 21:23 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 Tuncay 2025-04-21 09:48:44 UTC
SUMMARY
Using the "Filter" (`Ctrl-i`) when in "Selection Mode", will remove any selection. It would be so much more useful if the selection would be remembered between multiple filtering. Not only would an accidentally use of filter (either you don't know or forgot like me) delete the current complex selection, this would also enable us to actually use the filter in the selection mode.

STEPS TO REPRODUCE
1. Enter "Selection Mode" (`Space`).
2. Click a few different files.
3. Open the "Filter" bar (`Ctrl-i`).
4. Type a few letters to filter the current view in a way, that the previously selected files are not longer visible.
5. Clear the filter (`ESC`).

OBSERVED RESULT
The previously selected files are no longer selected.

EXPECTED RESULT
Remember the previous selected items/files that were hidden because of use of filter.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS x86_64 Linux 6.14.3-arch1-1
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0

```
kinfo
Operating System: EndeavourOS 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor 1: AMD Radeon RX 7600
Graphics Processor 2: AMD Radeon Graphics
```
Comment 1 Felix Ernst 2025-04-21 21:23:55 UTC
I moved this bug to the "bars: filter" component from "Selection Mode" because this bug also occurs when using the filter bar outside selection mode.