Skip to content

eeschema: autoplace doesn't work right anymore - bounding box issues?

Description

The behavior of the Autoplace Fields command in eeschema has changed a bunch since 5.x and it's not very usable anymore. I'm not entirely sure exactly what has changed, it seems to have a funny idea of what bounding boxes are at least.

Steps to reproduce

  1. Place a small component (resistor, capacitor) oriented with its pins on top and bottom, such that the labels need to go on the side.
  2. Press O to autoplace.
  3. Note that the labels overlap, the second one should be another grid point down.

It also seems to not as consistently set snap-to-grid and justification, and nudging up to avoid overlap with wires doesn't work, but I'll have to double check those later when I'm not at work.

KiCad Version

Application: Eeschema

Version: (5.99.0-3832-gb31ebae651), release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.72.0 OpenSSL/1.1.1h zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0

Platform: Linux 5.8.13-arch1-1 x86_64, 64 bit, Little endian, wxGTK, , x11

Build Info:
	Date: Oct  7 2020 01:21:59
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.72.0
	OCC: 7.4.0
	Curl: 7.72.0
	ngspice: 32
	Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	BUILD_GITHUB_PLUGIN=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON