Bad move / grid interaction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Jeff Young |
Bug Description
In the schematic editor, if you are moving something (say, with 'M', or 'G', or by duplicating a block, etc.) by a small amount, it used to be very convenient to do so with the arrow keys. It used to be that each press of an arrow key would move the item by exactly one grid position.
That is no longer the case, and hasn't been so for perhaps 6-8 months. What happens now is that pressing an arrow key makes the item jump by a very large amount. (I can't quite characterize how much it jumps, since it's not always the same, and seems to depend on the zoom level. But it may be about 10% of the viewport size.)
Now, unfortunately, if you want to move an item by a small amount, you have to try and judge it precisely with the mouse, which is very tricky.
Version info:
Application: kicad
Version: 5.1.0-rc1-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.11 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-53-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
milestone: | none → 5.1.1 |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in kicad: | |
milestone: | 5.1.1 → 5.1.2 |
Changed in kicad: | |
milestone: | 5.1.2 → 5.1.3 |
summary: |
- Moving items with arrow keys uses too large a step size + Bad move / grid interaction |
Changed in kicad: | |
status: | In Progress → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
This is related with the fix https:/ /bugs.launchpad .net/kicad/ +bug/1810684
Before, using arrow was causing canvas unsync. But now, the step is zoom dependent: high zooms (in...) move as expected, 1 grid step; but low zooms (out...) move more than 1 grid step.
Propose to fix:
Always move as one-grid-step, independent of the zoom. But, use some exponential acceleration to the move velocity. So, if the user keep the <arrows> presses some millisecond the movement between grid steps will be quicker than just one press.