Bug 234567

Summary: Setting the rating causes reset of the zoom
Product: [Applications] digikam Reporter: Bartek Pietrasiak <pietras.sp>
Component: Tags-RatingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.3.0

Description Bartek Pietrasiak 2010-04-16 23:01:15 UTC
Version:           1.3.0 (rev.: 1114889) (using 4.4.1 (KDE 4.4.1), 4.4.1-6.fc11 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30.10-105.2.23.fc11.i686.PAE

Steps:
1. Set zoom in picture a bit in digikam
2. Set some rating via click in thumb bar or via shortcut (on Caption/Tags tab doesn't occur).

The zoom will be back 100%
Comment 1 Marcel Wiesweg 2010-04-18 16:24:19 UTC
SVN commit 1116056 by mwiesweg:

Changing a rating causes a refiltering of the model. There is no change in visible images,
nonetheless somehow the currently selected image is reselected. Still no visible effect,
but the preview gets the current image path set again, reloads it and resets the zoom.
Just check if the newly set Image is the same as the current one, and dont reload in that case.

Btw: Beautiful bug number. Next one is 345678 ;-)

BUG: 234567

 M  +2 -1      NEWS  
 M  +9 -7      digikam/imagepreviewview.cpp  
 M  +1 -0      libs/database/imageinfo.h  


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