kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38069
Re: Is snap-to-grid zoom-level dependant?
Le 20/10/2018 à 16:26, Jeff Young a écrit :
> 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.)
>
> Cheers,
> Jeff.
I do not see that.
However I noticed the screen is not immediately refreshed when the
cursor is moved from keys.
So if you press the up arrow and then the left arrow, the cursor move
one step up , and it will move one step left only if a refresh happens,
like a new arrow key or a F3 zoom redraw.
So the cursor move is one arrow key behind the actual key displacement.
(There are also screen refresh issues in libedit when creating a new
graphic item or moving a graphic item)
>
>> 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
>
>
> _______________________________________________
> 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
>
--
Jean-Pierre CHARRAS
References