Mailing list archives : pcb-rnd

ID:5682
From:rn...@igor2.repo.hu
Date:Thu, 2 Jun 2022 13:20:08 +0200 (CEST)
Subject:Re: [pcb-rnd] No snapping on realign grid
in-reply-to:5681 from Anthony Tuttle <ke...@gmail.com>
 
 
On Thu, 2 Jun 2022, Anthony Tuttle wrote:
 
>When I want to realign the grid, I go to view->grid->realign grid. But I
>can't realign the grid to the PCB corner because the cursor does not snap to
>anything.
 
Meanwhile I got a more precise bugreport about this.
 
It turned out the legacy code for changing snap when invoked from the 
menu, also disables the line endpoint matching, which Anthony was 
expecting. Fortunately when grid realign is invoked from keyboard with {g 
r}, it doesn't change any GUI state and that way normal snapping can be 
used.
 
I am not going to change how the menu invocation "ask for coordinates" 
snap behaves because who-knows-how-many-users may depend on it. 
 
However, it's good to remember this: if you depend on precisely selecting 
something on the drawing, and then invoking a feature from the menu ruins 
that by asking for a new coord, just look at the hotkey of the feature in 
the menu and use the hotkey instead. When you use the hotkey without your 
mouse cursor leaving the drawing area, pcb-rnd will never run a second 
"ask for coordinate" loop, that happens only when you leave the drawing 
area (e.g. opening a menu).
 
HTH,
 
Igor2
 
 

Reply subtree:
5682 Re: [pcb-rnd] No snapping on realign grid from rn...@igor2.repo.hu