STEPS TO REPRODUCE 1. Open Dolphin 2. Open the filter (ctrl + i) and filter for some search term 3. Open a folder from the filtered list 4. Press "back" (eg the `back` button on your mouse) OBSERVED RESULT Dolphin clears the filter and shows all files and folders again. EXPECTED RESULT Dolphin keeps the filter used before. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20220705 KDE Plasma Version: 5.25.2 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5
Can confirm, this is slightly annoying.
I'm not sure of the change you want to be implemented (Sorry in advance, I am a new KDE Developer). There is a lock next to the filter to keep the filter when switching folders. Is the lock not a good solution (easy to miss?) and instead always keep the filter (remove the lock?). Thank you!
Following scenario: 1) You look for (a) particular folder(s) and therefore filter your items 2) Then you open one of the folder to do something and 3) go back to your filtered list without needing to enter the same filter string again So for my usecase it'd good if the filter was cleared on entering a folder from a filtered folder list, but is reset to the filter value when going back, i.e. hitting the "back / <--" button.
> Is the lock not a good solution (easy to miss?) The lock keeps the filter always on and as such is not suitable for my workflow. :) > I am a new KDE Developer Welcome! \o/
I've been working on this today, and I've been able to make it happen. I have some work to do to clean up the code (I made a bit of a mess), then I will proceed to make my first MR for KDE :) Here's a video of what it looks like: https://streamable.com/g7sxnu
So basically you want the filter to be remembered on a per-folder basis? Surely then it should also be remembered when clicking on the folder in the URL bar, not only when pressing the back button?
(In reply to Nicolas Fella from comment #6) > So basically you want the filter to be remembered on a per-folder basis? > Surely then it should also be remembered when clicking on the folder in the > URL bar, not only when pressing the back button? Personnally, it would only make sense on a back. When pressing back, you should recover your previous state. But when clicking on a folder, you're assuming you're going to a new state. I feel like remembering filters on a per-folder basis, no matter how the folders are accessed, is a different feature entirely.