Skip to content

PCB Editor: Constraining moves to horizontal or vertical is broken

Description

In PCB Editor versions prior to 9.0.5, pressing a cursor key while moving an object would constrain the move to that axis only. This has been broken since 9.0.5.

In 9.0.5, pressing a cursor key causes the moves no longer snap to any grid while still allowing moves along any axis.

In 9.0.6-rc1-2-g790dee114b, pressing a cursor key freezes the item in its current location. Subsequent key presses cause the item to jump to the mouse cursor.

Testing version behavior shown in the screencast:

Screen_Recording_2025-10-14_at_11.07.47

Steps to reproduce

  1. Press "m" on on item in the PCB Editor.
  2. Wiggle the mouse.
  3. Press e.g. the Up arrow key
  4. Wiggle the mouse.

KiCad Version

Application: KiCad PCB Editor arm64 on arm64

Version: 9.0.6-rc1-2-g790dee114b, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.14.1
	HarfBuzz 12.1.0
	FontConfig 2.17.1
	libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.66.0

Platform: macOS Version 26.0.1 (Build 25A362), 64 bit, Little endian, wxMac
OpenGL: Apple, Apple M1 Max, 2.1 Metal - 90.5

Build Info:
	Date: Oct 13 2025 12:50:48
	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.89.0
	OCC: 7.8.1
	Curl: 8.7.1
	ngspice: 44.2
	Compiler: Clang 16.0.0 with C++ ABI 1002
	KICAD_IPC_API=ON