Summary: | Zoom to 100% pans to the top-left corner | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | DrSlony <bugs> |
Component: | Preview-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 2.5.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/c778bc15246604ad122b1e3e6817048b95e90244 | Version Fixed In: | 3.0.0 |
Description
DrSlony
2012-03-26 01:17:00 UTC
Git commit c778bc15246604ad122b1e3e6817048b95e90244 by Marcel Wiesweg. Committed on 08/07/2012 at 14:08. Pushed by mwiesweg into branch 'master'. When zooming by setting the zoom rate (slider), use the current view center as zoom anchor, not top-left. M +2 -1 NEWS M +3 -2 digikam/views/stackedview.cpp http://commits.kde.org/digikam/c778bc15246604ad122b1e3e6817048b95e90244 Thank you! "When zooming by setting the zoom rate (slider)" Will this not work if I zoom using my own shortcut key "*" (numpad) to jump to 1:1? I would like it to, that's what I most often use, and it would be inconsistent if zooming to the center instead of the top-left only worked for one zooming method and not all methods. In 2.9.0 zooming using the slider zooms into the center (great), but using the shortcut key it still zooms into the top-left corner, so this fix would need to be extended to the shortcut zoom too. Not completely resolved yet. Git commit 466a690a843ea9cb6594fb54f1d02676b2d92438 by Marcel Wiesweg. Committed on 23/09/2012 at 16:32. Pushed by mwiesweg into branch 'master'. Always default to image center as anchor for zooming. The method which implements anchoring becomes the actual implementation method, which means there's not zooming without anchoring anymore, and default is QPoint() which is the image center. M +12 -12 libs/widgets/graphicsview/previewlayout.cpp M +2 -2 libs/widgets/graphicsview/previewlayout.h http://commits.kde.org/digikam/466a690a843ea9cb6594fb54f1d02676b2d92438 |