Version: 1.4.1 (using KDE KDE 3.5.5)
Installed from: Compiled From Sources
Compiler: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)
In Gwenview 1.4.1 when I select the zoom option "Fit to window" it doesn't work on an image that is smaller to the image window size, however it works if the image is bigger than the image window size.
Also, the zoom options "Fit to width" and "Fit to height" are working correctly with images that are smaller to the image window size and they are scaled acording to the option selected.
I checked with a current build of the KDE4 version, and this issue is still present, when an image it is smaller than the Gwenview's image view area and the "Zoom To Fit" toolbar button is pressed the image isn't scaled to fit the image view area and it's showed exaclty like if "Actual Size" button were pressed.
In fact, there is an option to do what you want in Gwenview 1.4. It's in the configuration dialog, go to "Image View", then check "Enlarge small images when auto zoom is activated".
Unfortunately, I haven't ported that option to Gwenview 2.0 and since we are freezing for KDE4.0, it won't be there. You will probably have to wait for KDE4.1.
Would love to have it in 4.1 for sure, and imho it should be on by default (for the sake of simplicity, I wouldn't even make it an option).
Marking as KDE4.1
Thanks, Aurelien I don't know how I missed this option in 1.4.
*** Bug 159608 has been marked as a duplicate of this bug. ***
*** Bug 161035 has been marked as a duplicate of this bug. ***
SVN commit 801676 by gateau:
New option to enlarge smaller images in zoom to fit mode.
M +42 -2 app/configdialog.ui
M +4 -0 lib/gwenviewconfig.kcfg
M +15 -1 lib/imageview.cpp
M +2 -0 lib/imageview.h
M +1 -0 part/gvpart.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=801676