Bug 234567 - Setting the rating causes reset of the zoom
Summary: Setting the rating causes reset of the zoom
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Rating (show other bugs)
Version: 1.3.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 23:01 UTC by Bartek Pietrasiak
Modified: 2017-08-14 21:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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