← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] New Feature: Touchpad Panning

 

Hi Wayne,

> On 23 Feb 2016, at 17:00, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
> 
> * In Eeschema the mouse wheel is completely disabled but in Pcbnew
> (legacy canvas) and GerbView the mouse wheel causes vertical scrolling.
> It should be consistent across all canvases.

You are talking about the mouse wheel of a real mouse with touchpad-panning on 
or off? With touchpad-panning off I didn’t see any any difference in behaviour on 
OSX/Linux with all the tests I did.

I will check, of course… especially GerbView.

> * The touchpad panning is not implemented in the component viewer,
> component editor, footprint viewer, and footprint editor.  I would think
> that we would want it implemented in these windows for the sake of
> consistency.  I image the first bug report filed against this patch will
> be about that.

Strange, all of them work for me on OS X, both with legacy and GAL canvas.
I’ll retest on Linux.

I currently couldn’t imagine any reason why it shouldn’t work in Windows… 
The changes are just in the EDA_DRAW_PANEL classes.
Are they different on Windows?

> * Is there any reason that the mouse scroll wheel behavior has to be
> disabled to support the touchpad panning?  It's kind of a pain to switch
> it on and off when I install my mouse on my laptop.  Perhaps remapping
> the touchpad events to the appropriate mouse wheel events would do the
> trick so that both behaviors could exist at the same time.

In my tests with Linux and a normal mouse on OS X mouse wheel scrolling 
did work just the same as with disabled touchpad-panning.
The only thing of course is, that it scrolls (vertical I think) when using the 
scroll wheel without any modifier (when touchpad-panning is enabled).


Regards,
Bernhard



Follow ups

References