GNOME Bugzilla – Bug 697530
zoom during mouse-pan focuses on wrong location
Last modified: 2018-05-24 13:39:45 UTC
If I change the zoom level during a pan (middle-click-and-hold, "+", release mouse button), then the screen jumps to a completely different location on the canvas than it started at. The new focus of the pan is at the same display distance from the upper-left corner of the canvas, which is a different pixel now that the pixel-to-display ratio has changed. Using space key rather than middle-click to activate pan mode doesn't trigger the same symptoms. Instead it prevents me from zooming, i.e. "+" does nothing while space is held down. GNU Image Manipulation Program version 2.8.4 git-describe: GIMP_2_8_2-186-g8a9af4c using GEGL version 0.2.0 (compiled against version 0.2.0) using GLib version 2.34.3 (compiled against version 2.34.3) using GdkPixbuf version 2.26.3 (compiled against version 2.26.3) using GTK+ version 2.24.12 (compiled against version 2.24.12) using Pango version 1.30.1 (compiled against version 1.30.1) using Fontconfig version 2.8.0 (compiled against version 2.8.0) using Cairo version 1.12.8 (compiled against version 1.12.8) Happens on both linux and windows.
Fixed in master and gimp-2-8. Probably not what you wanted, but the actual bug was that panning allowed accelerators at the same time. commit 019eb591116740b0a4587f0cac4daf24c8b1cb58 Author: Michael Natterer <mitch@gimp.org> Date: Sun Apr 21 20:00:28 2013 +0200 Bug 697530 - zoom during mouse-pan focuses on wrong location Block all key events while middle-mouse panning, to prevent accelerators from being invoked. (cherry picked from commit 3643551280887251cd20702275398f7b3169a309) app/display/gimpdisplayshell-tool-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
It's still possible to trigger this bug if I bind zoom to the mouse wheel. (I confirm the fix for key events.)
Heh, well done, reopening :)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/462.