Bug 497560 - Feature: Add filter for file size (in bytes)
Summary: Feature: Add filter for file size (in bytes)
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-16 14:04 UTC by Glenn ROLLAND
Modified: 2024-12-27 07:21 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 Glenn ROLLAND 2024-12-16 14:04:04 UTC
## SUMMARY

I’d like to suggest adding a file size (in bytes) filter to Gwenview’s filter bar. This would make it easier to sort and manage files based on their size, similar to how filtering by image dimensions already works.

The proposed filter would allow selecting:

* Comparators: GreaterOrEqual, Equals, LessOrEqual
* Units: Bytes, Kilobytes, Megabytes, Gigabytes

The user could choose a comparator from a drop-down menu and enter the file size using a text field, much like the DateFilter currently works.

This feature would be very useful for managing large image collections, especially when storage management is important.

Note: I’ve already implemented this feature and submitted a merge request here: https://invent.kde.org/graphics/gwenview/-/merge_requests/291

I’d appreciate it if you could review and consider merging it. Thanks!

## STEPS TO REPRODUCE

- Open a folder (browse view)
- Click on "add a filter"

## OBSERVED RESULT

- There is no way to filter by file size (in bytes)

## EXPECTED RESULT

- There should be a option to filter by file size (in bytes)

## ADDITIONAL INFORMATION

-
Comment 1 John Kizer 2024-12-27 07:21:19 UTC
Moving to confirmed wishlist