Bug 342602

Summary: Restore toggle fit to window and last zoom in the image editor [patch]
Product: [Applications] digikam Reporter: Maik Qualmann <metzpinguin>
Component: Usability-ErgonomyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.0
Sentry Crash Report:
Attachments: lastzoom.patch

Description Maik Qualmann 2015-01-07 21:09:46 UTC
Only the image editor has a toggle button for fit to window and switch to last zoom (Ctrl + Alt + E).
The standard value at startup for last zoom is 100%. This patch makes the behavior of digiKam 3.x.

Reproducible: Always
Comment 1 Maik Qualmann 2015-01-07 21:10:17 UTC
Created attachment 90278 [details]
lastzoom.patch
Comment 2 caulier.gilles 2015-01-15 09:21:23 UTC
Git commit 55b64a1cb6e07857ef8a17c9bfae7d8467d10e2f by Gilles Caulier.
Committed on 15/01/2015 at 09:19.
Pushed by cgilles into branch 'master'.

Apply patch #90278 from Maik Qualmann to restore last zoom level in Image Editor
FIXED-IN: 4.7.0

M  +2    -2    libs/widgets/graphicsview/graphicsdimgview.cpp
M  +1    -1    libs/widgets/graphicsview/graphicsdimgview.h
M  +5    -2    libs/widgets/graphicsview/previewlayout.cpp
M  +2    -2    utilities/imageeditor/editor/editortooliface.cpp

http://commits.kde.org/digikam/55b64a1cb6e07857ef8a17c9bfae7d8467d10e2f
Comment 3 caulier.gilles 2015-01-15 14:31:31 UTC
Git commit 1b8a14fccc98de37c291d8120885b680f71dc0dc by Gilles Caulier.
Committed on 15/01/2015 at 14:30.
Pushed by cgilles into branch 'frameworks'.

backport commit #55b64a1cb6e07857ef8a17c9bfae7d8467d10e2f from git/master to frameworks branch

M  +2    -2    libs/widgets/graphicsview/graphicsdimgview.cpp
M  +1    -1    libs/widgets/graphicsview/graphicsdimgview.h
M  +5    -2    libs/widgets/graphicsview/previewlayout.cpp
M  +2    -2    utilities/imageeditor/editor/editortooliface.cpp

http://commits.kde.org/digikam/1b8a14fccc98de37c291d8120885b680f71dc0dc