Bug 341825 - Rounding down zoom for fit to window sizes and it will never scroll bars be displayed [patch].
Summary: Rounding down zoom for fit to window sizes and it will never scroll bars be d...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Canvas (show other bugs)
Version: 4.5.0
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 20:09 UTC by Maik Qualmann
Modified: 2022-01-31 13:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.0


Attachments
roundzoom.patch (679 bytes, patch)
2014-12-12 20:10 UTC, Maik Qualmann
Details

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