Hand/Pan tool cursor on middle-drag

Bug #172190 reported by P2isme on 2007-10-31
4
Affects Status Importance Assigned to Milestone
Inkscape
Wishlist
John Smith

Bug Description

We all know how to move/pan the canvas, by pressing middle mouse button. It
would be great if the cursor change into like hand grabbing the canvas when
the user press and hold the middle mouse button. That give indicator to the
user that the middle mouse button is active.

Tags: ui Edit Tag help
Ryan Lerch (ryanlerch) on 2008-01-21
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
timstring (timstring) wrote :

I was browsing through the help file and came across the keyboard options, and then found this request.. I'm on a Mac with a 5-button Microsoft Mouse. I got the wheel to zoom in and out just fine, but nothing happens when I program one of the buttons to <shift>-drag. Is there a trick to program one of the mouse buttons to pan?

Tim

John Smith (john-smithi) wrote :

Patch to change the cursor to a drag cursor when panning with middle click or <Space>+left click (when enabled in prefs).

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
status: Confirmed → In Progress
su_v (suv-lp) wrote :

> Patch to change the cursor to a drag cursor when panning with middle click
> or <Space>+left click (when enabled in prefs).

The patch also changes the cursor when zooming in with middle-click (single click with MMB [1], no dragging), and does not revert to regular cursor unless triggered by hovering a selectable object (tested on OS X 10.7.4 with X11 and Quartz backends of GTK2, default preferences).

[1] http://inkscape.org/doc/keys048.html#d0e720

John Smith (john-smithi) wrote :

v2 patch attached.
To stop the cursor temporarily changing when clicking (like middle click), the cursor only changes when the panning actually happens (when click-dragging). Is that preferred ?

John Smith (john-smithi) wrote :

FYI - It seems that <Space>+Left click, <Space>+<Shift>+Left click also zoom in and out (when enabled in prefs).
I couldn't see this in the documentation or in the status bar hints.

su_v (suv-lp) wrote :

> the cursor only changes when the panning actually happens
> (when click-dragging). Is that preferred ?

My only concern was the change of the cursor symbol when zooming (-> wrong cursor symbol) and that the changed symbol sticked after the requested zoom action (on click) was done. This seems fixed in the second version of the patch.

> FYI - It seems that <Space>+Left click, <Space>+<Shift>+Left click
> also zoom in and out (when enabled in prefs).
> I couldn't see this in the documentation or in the status bar hints.

Both confirmed - the missing mention in the 'Inkscape keyboard and mouse reference' probably ought to be filed as separate report… (it could then also be forwarded to Tav to be added to the manual).

John Smith (john-smithi) wrote :

Committed to trunk as r11703.

> <Space>+Left click, <Space>+<Shift>+Left click
Will file separate issue for missing keyboard shortcut.

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) on 2012-09-25
Changed in inkscape:
milestone: none → 0.49
Bryce Harrington (bryce) on 2015-02-21
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers