https://bugs.kde.org/show_bug.cgi?id=443112

            Bug ID: 443112
           Summary: Filters Do Not Work on Folders
           Product: gwenview
           Version: 21.08.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: dashonww...@pm.me
  Target Milestone: ---

SUMMARY
Alright, so in gwenview when you add a filter (does not matter which one). It
will filter out all the files that do not meet the filter criteria as it
should. However, the filters do not apply to folders the same way that they
apply to files. In other words if I am in a directory and I apply a filter by
date. Even if neither the folder itself nor any image in that folder fall into
the date range specified. The folder will still show up in the filtered
results. The same thing happens when applying any other type of filter. Now
let's say that I choose the "name" filter this time instead of the "date"
filter. If I type in say "Bob" in the "Name Contains" text box. I would expect
that only files, folders, or folders that contain a file that has the string
"bob" to show up. However, what instead happens is that a completely empty
folder with an irrelevant name for example "Jason" shows up.

STEPS TO REPRODUCE
1. Open a folder containing a mixture of images and folders in gwenview.
2. Apply a filter of some kind.


OBSERVED RESULT
Regardless of how you try to filter the files/folders. Folders will always show
up in the filtered results.

EXPECTED RESULT
Only folder(s) that match the filtered criteria should show up. Preferably, not
having the folder show up at all unless the folder itself matches the filter
criteria would be ideal. However, in the case that file(s) inside of the folder
match the filter criteria, only the file(s) within that folder should show up
in the results and not the folder. 

THE PROBLEM
In a folder with a sufficient number of other folders, it defeats the purpose
of filtering if the results are cluttered with irrelevant entries.

Operating System: EndeavourOS
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.8-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to