Bug 227901

Summary: Can't search for Ratings in Advanced Search
Product: [Applications] digikam Reporter: Andi Clemens <andi.clemens>
Component: Searches-AdvancedAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.6.0
Sentry Crash Report:

Description Andi Clemens 2010-02-21 09:02:58 UTC
Version:           1.2.0 (using 4.4.00 (KDE 4.4.0), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.32-ARCH

When I try to search for images that have exactly one star rating (range from:1, to:1), I can not set up this search criteria in the dialog.
When I select "1" (at least) on the left and "1" (at most) on the right, the setting of the left combobox is erased. So I am never able to set some range in here.
Comment 1 Johannes Wienke 2010-02-21 12:32:47 UTC
I cannot reproduce this here with KDE 4.4.0 and Qt 4.6.2.
Comment 2 Andi Clemens 2010-02-23 21:05:54 UTC
I can do a screencast to prove it ;-)
Comment 3 Marcel Wiesweg 2010-02-24 20:23:19 UTC
Probably the logic is copied from the other fields which have spin boxes, and you usually search for a range. It's also not possible there to search for "==", but you can use a <= x <= a+1.
It was not easy to get this right with the spin boxes and their own ideas what to do.
For the rating, we should of course allow the same value in both boxes. And it should be easier to implement.
Comment 4 Andi Clemens 2010-11-12 23:43:15 UTC
Seems to be fixed now....