Summary: | Wishlist: Middle-click zoom should be centered on the current mouse location | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Mathieu MD <mathieu> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bugseforuns, nate |
Priority: | NOR | ||
Version: | 2.9.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/gwenview/1e66de8f8f2664451279b23f2e6e7cef3ba372bc | Version Fixed In: |
Description
Mathieu MD
2012-10-13 17:33:10 UTC
Git commit 1e66de8f8f2664451279b23f2e6e7cef3ba372bc by Peter Mühlenpfordt. Committed on 15/03/2018 at 13:45. Pushed by muhlenpfordt into branch 'master'. Keep click position in focus on middle-click zoom Summary: Clicking on an image in View Mode with the middle mouse button toggles between `Fit` and `100%` zoom modes. The image zoomed to `100%` is always scrolled to the image center. This patch keeps the clicked location in focus as it is done while zooming with {key Ctrl Scroll}. Test Plan: * Open a big image in View Mode * Middle-click on different locations over the image * The `100%` zoom view should keep the clicked location in focus Reviewers: #gwenview, rkflx Reviewed By: #gwenview, rkflx Subscribers: rkflx, huoni Differential Revision: https://phabricator.kde.org/D11336 M +1 -1 lib/documentview/abstractimageview.cpp https://commits.kde.org/gwenview/1e66de8f8f2664451279b23f2e6e7cef3ba372bc |