Bug 478298

Summary: Please add button to filter on no stars
Product: [Applications] digikam Reporter: Erik Herlé <erik.herle+kde>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.2.0   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:

Description Erik Herlé 2023-12-09 11:39:11 UTC
SUMMARY
***
Add button to filter on no stars
***
The UI is unclear how you can filter all photos with no stars. There are sepate buttons to select photos with no color label or no acceptance flag. There is no button to select photos with no stars. You have to do it pretty complicated using the 'None' button of the colour label buttons plus a change in the rating filter options (equal to or less than). Even for multi-year users, like myself, this is not very straight forward, especially when working with software like darktable that do have a separate filter button for photos with no stars.
So, can you please add button to select no stars (left to the already existing star buttons)?

STEPS TO REPRODUCE
1. Select an album
2. apply filter
3. 

OBSERVED RESULT
see above

EXPECTED RESULT
see above

SOFTWARE/OS VERSIONS
Windows: 10 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5

ADDITIONAL INFORMATION
 https://discuss.pixls.us/t/how-to-filter-photos-with-no-stars-solved
Comment 1 Maik Qualmann 2023-12-09 11:46:52 UTC
In the dropdown tool button next to the star rating filter you have the last option “Exclude Items Without Rating”. That's exactly what you're looking for.

Maik
Comment 2 Maik Qualmann 2023-12-09 11:51:58 UTC
Ok, the post from Pixls.us makes it clearer what is desired.

Maik
Comment 3 Erik Herlé 2023-12-09 11:55:59 UTC
Yep, the functionality is there, but the UI is not clear how you can use it. There are dedicated buttons for 'No colour label' and 'No flag', so users will also expects a button for 'No stars'.
Comment 4 Maik Qualmann 2023-12-09 15:18:57 UTC
Git commit e1d8eff4b25bea9bf7b1996bf3d1b89aeea4f652 by Maik Qualmann.
Committed on 09/12/2023 at 16:18.
Pushed by mqualmann into branch 'master'.

add a button to set a zero star rating filter condition
FIXED-IN: 8.3.0

M  +1    -1    NEWS
M  +1    -3    core/app/filters/filtersidebarwidget.cpp
M  +24   -1    core/libs/filters/ratingfilter.cpp
M  +3    -0    core/libs/filters/ratingfilter.h

https://invent.kde.org/graphics/digikam/-/commit/e1d8eff4b25bea9bf7b1996bf3d1b89aeea4f652
Comment 5 Maik Qualmann 2023-12-09 16:23:41 UTC
Git commit 12d32d4b48ed33c78f38a4f7ec2e5a35cf66c847 by Maik Qualmann.
Committed on 09/12/2023 at 17:23.
Pushed by mqualmann into branch 'master'.

make no star filter toggleable

M  +25   -5    core/libs/filters/ratingfilter.cpp
M  +2    -1    core/libs/filters/ratingfilter.h

https://invent.kde.org/graphics/digikam/-/commit/12d32d4b48ed33c78f38a4f7ec2e5a35cf66c847