Closed GoogleCodeExporter closed 9 years ago
Can we reliably get middle-button up/down/move across all browser across all
platforms?
If so, then we should definitely do this. Special panning mode with middle
button.
Original comment by codedr...@gmail.com
on 17 Dec 2009 at 8:26
Research: http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent
If the event's button property has its '1' bit set, then the middle button
changed state.
Original comment by codedr...@gmail.com
on 17 Dec 2009 at 8:29
Original comment by codedr...@gmail.com
on 17 Dec 2009 at 8:48
I don't even want to try to use a "middle button" on a laptop (or on a
notebook). I
also think that when using a graphic tablet, the "middle button" is extremely
hard to
use (if it even exists).
I also do not think that the Inkscape compatibility should make SVG-edit use
every
Inkscape shortcuts.
First, I'm not convinced that SVG-edit users are going to all know and already
use
Inkscape. Second, Inkscape has more than a hundred ones! And third, I don't like
shortcuts if they require two fingers or more, or if they require concentrating
more
on how to "get them" than on the task you're doing :-)
So I'm OK for some panning "function", but not with a middle-button or
middle-click
(plus drag!), which I'll never be able to get.
Original comment by worms_...@yahoo.com
on 17 Dec 2009 at 9:44
wormsxulla - I get that you want a way to pan other than middle-button, so
please
suggest an alternative
Original comment by codedr...@gmail.com
on 18 Dec 2009 at 4:35
By the way, I should mention that on my Macbook Pro, the two finger scroll on
the
touchpad works fine for panning (up-down and left-right) without having to move
the
mouse in the canvas to the scrollbars. I believe mousewheel should work the
same.
Original comment by codedr...@gmail.com
on 18 Dec 2009 at 9:11
[deleted comment]
Actually a common method in Adobe apps is to hold the spacebar down and drag
the canvas by holding
the left mouse button. Shouldn't be too hard to implement.
Original comment by adeve...@gmail.com
on 18 Dec 2009 at 10:36
This seems like it could be a fun little challenge, so I'll try taking it on.
I'll go
for middle mouse button (where supported) as well as spacebar drag, I'm hoping
wormsxulla will find that an acceptable alternative.
Original comment by adeve...@gmail.com
on 30 Mar 2010 at 11:56
So if I understand things, we'll have three ways to pan:
* mousewheel / two-finger scroll
* middleclick drag
* space + drag
Correct?
Original comment by codedr...@gmail.com
on 31 Mar 2010 at 1:07
Yup!
Original comment by adeve...@gmail.com
on 31 Mar 2010 at 1:51
Fixed in r1494. One minor annoyance for the spacebar mechanism is that the
cursor
will flicker on and off while holding it...can't seem to find a way to fix
that,
though.
Original comment by adeve...@gmail.com
on 1 Apr 2010 at 4:02
Original issue reported on code.google.com by
jan.pta...@gmail.com
on 17 Dec 2009 at 6:09