← Back to team overview

kicad-developers team mailing list archive

Re: Is snap-to-grid zoom-level dependant?

 



On 10/20/2018 10:26 AM, Jeff Young wrote:
Hi Wayne,

I don’t really mind the fact that the steps are bigger.  The problem is when it move in the Y axis when I hit the left or right arrow key.  (Presumably it does this because the current position is in between two snap points on the Y axis at the current zoom level.  But it should never move on the wrong axis.)

It should definitely *not* move in the wrong direction. I would consider this a bug.


Cheers,
Jeff.

On 20 Oct 2018, at 15:23, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:

Hi Jeff,

On 10/20/2018 10:12 AM, Jeff Young wrote:
I built up a pretty big board (at least for me) over the last week with 6.0.  No major issues.
The most annoying one is that when moving objects with ‘m’ and then the arrow keys, it can move on the wrong axis if I’m zoomed out a bit.  If I zoom in far enough to see the lowest level of grid dots, it works correctly.
Is this because the arrow keys are snapping to screen pixels as well as the grid?  If so, can we remove that part?

This is the expected behavior and I don't think we should change that. I don't think the ignore snapping modifier key does anything when moving the cursor with the arrow keys so this could be something to take a look at if you are trying to improve this behavior.  The only issue I see would be when this condition occurs, what would be the step distance for each cursor press.  It might take a few key presses to move the cursor any noticeable difference if you use the minimum board resolution of 1 nanometer.  I guess you calculate some "reasonable" distance based on the current zoom level and/or  grid spacing.

Cheers,
Jeff.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



References