Bug 264093 - Preview zoom is set to 1:1, should be "fit to window"
Summary: Preview zoom is set to 1:1, should be "fit to window"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 16:57 UTC by Milan Knížek
Modified: 2012-06-27 10:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.0.0
Sentry Crash Report:


Attachments

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