Bug 179745

Summary: Rating information in right sidebar is not updated
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: Metadata-DateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg, mikmach
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

Description Gandalf Lechner 2009-01-05 21:12:20 UTC
Version:           0.10.0-beta8 (rev.: 905623) (using 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-7-generic

The rating info in the right sidebar behaves incorrectly when viewing images with no rating both in the album view and in the image editor. For images which are rated with at least one star the problem does not occur. But when selecting an image without rating after an image with rating X stars, the info panel will still display X stars instead of zero stars.
Comment 1 Mikolaj Machowski 2009-01-05 22:08:40 UTC
I have to confirm that :(
Comment 2 caulier.gilles 2009-01-06 06:22:19 UTC
I confirm too.

Gilles
Comment 3 Marcel Wiesweg 2009-01-06 19:25:00 UTC
SVN commit 906720 by mwiesweg:

Accept -1 (no rating) as value for the rating widget.
The widget itself is not able to distinguish between 0 and -1 and will only generate the value 0.

CCBUG: 179745

 M  +1 -0      constants.h  
 M  +1 -1      ratingwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=906720