Bug 341825

Summary: Rounding down zoom for fit to window sizes and it will never scroll bars be displayed [patch].
Product: [Applications] digikam Reporter: Maik Qualmann <metzpinguin>
Component: ImageEditor-CanvasAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 4.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.6.0
Attachments: roundzoom.patch

Description Maik Qualmann 2014-12-12 20:09:45 UTC
When displaying optimal size sometimes scroll bars of the window may be displayed depending on the image size and window size. This patch should fix it, I tested it with many different image sizes.

Reproducible: Sometimes
Comment 1 Maik Qualmann 2014-12-12 20:10:22 UTC
Created attachment 89942 [details]
roundzoom.patch
Comment 2 caulier.gilles 2014-12-12 20:52:19 UTC
Git commit fb0a55a58d689bb493c2b9540760d72873c79bb3 by Gilles Caulier.
Committed on 12/12/2014 at 20:48.
Pushed by cgilles into branch 'master'.

apply patch #89942 from Maik Qualmann about to Round down zoom when fit to windows size is enable and to prevent to display canvas scroll bars
FIXED-IN: 4.6.0

M  +2    -1    NEWS
M  +3    -0    libs/widgets/graphicsview/imagezoomsettings.cpp

http://commits.kde.org/digikam/fb0a55a58d689bb493c2b9540760d72873c79bb3