Bug 264093

Summary: Preview zoom is set to 1:1, should be "fit to window"
Product: [Applications] digikam Reporter: Milan Knížek <knizek>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0

Description Milan Knížek 2011-01-23 16:57:34 UTC
Version:           2.0.0 (using KDE 4.5.5) 
OS:                Linux

In current 2.0.0 trunk, the Preview zoom is always set to 100 %. 

Reproducible: Always

Steps to Reproduce:
Start digiKam.
Double-click on some thumbnail so that it opens in Preview mode.

Actual Results:  
The zoom is set to 100 %.

Expected Results:  
The zoom should be set either to "fit to window" or "the last state"

digiKam remembers the zoom ratio during the session (ie. if I set "fit to screen" for the first previewed image, any other image fits to window as well), however after digiKam's restart, the bug as described above always occurs.
Comment 1 Marcel Wiesweg 2011-01-24 16:00:48 UTC
For me, this always "just works", meaning it is set to fit-to-window.
I believe that is a sane default for startup.
It is indeed nowhere called explicitly, so I will add that. Please report back if that fix helps for you.
Comment 2 Marcel Wiesweg 2011-01-24 16:01:25 UTC
SVN commit 1216755 by mwiesweg:

Explicitly set to fit-to-window at startup

CCBUG: 264093


 M  +3 -0      imagepreviewview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1216755
Comment 3 Milan Knížek 2011-01-24 19:21:48 UTC
Okay now. Thanks.