Regression: Schematic “Autoplace Fields” rotates/misaligns fields in nightly vs KiCad 9

Description

In the nightly build, schematic field autoplace (“Autoplace Fields”) produces different alignment and text rotation compared to KiCad 9.0.x. For some symbols, fields are rotated and repositioned in a way that appears unintuitive and requires manual correction.

Examples of autoplacements in V9 vs nightly:

V9:

image.png

image.png

image.png

Nightly:

image.png

image.png

image.png

Expected (KiCad 9 behavior)

  • Ref/Value remain horizontal.
  • Fields remain centered relative to the symbol in a conventional placement (e.g., Ref above Value).
  • Field rotation follows the symbol rotation (0/90/180/270) and not the symbol’s graphic “tilt” or bounding-box aspect.

Actual (nightly behavior)

  • Ref/Value are rotated 90° (vertical) and aligned differently (stacked along the side), producing a tall footprint and wasting schematic space.
  • The result is less readable and typically requires manual repositioning.

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 9.0.6, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.2.0
	FontConfig 2.15.0

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.88.0
	OCC: 7.9.1
	Curl: 8.13.0-DEV
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_CH
	Enc: UTF-8
	Num: 1’234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Federico Villani