Spurious error "horizontal delta of zero with 2 objects"
Description
When I use Create Array to duplicate objects without changing their position, I expect it to create another copy of the selected objects, just like it did in previous versions of Kicad.
What actually happens is that Kicad throws an unnecessary error box, "helpfully" warning me that I have requested two copies of an object without any offset. And then Kicad proceeds to not do the perfectly reasonable thing I have told it to do.
Why remove perfectly usable functionality? How am I supposed to duplicate objects now? If I copy and paste, or use the "C" shortcut (that apparently exists but is not present in any menu, so I guess we just have to be psychic), the new objects move based on the current position of the mouse cursor. That's no use to me!
Steps to reproduce
- Select objects
- Go to Create Array
- Enter zero for horizontal and vertical spacing
- Observe spurious error message that did not appear in Kicad 9!
- Curse loudly at your inexplicable inability to make copies of objects anymore.
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 10.0.1, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.14.3
HarfBuzz 14.1.0
FontConfig 2.17.1
libcurl/7.87.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1
Platform: macOS Monterey Version 12.6.4 (Build 21G526), 64 bit, Little endian, wxMac
OpenGL: Intel Inc., Intel Iris OpenGL Engine, 2.1 INTEL-18.8.6
Build Info:
Date: Apr 15 2026 12:51:49
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.90.0
OCC: 7.9.3
Curl: 8.7.1
ngspice: 44.2
Compiler: Clang 16.0.0 with C++ ABI 1002
KICAD_IPC_API=ON
KICAD_USE_PCH=OFFApplication: KiCad PCB Editor x86_64 on x86_64
Version: 10.0.1, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.14.3
HarfBuzz 14.1.0
FontConfig 2.17.1
Platform: macOS Monterey Version 12.6.4 (Build 21G526), 64 bit, Little endian, wxMac
OpenGL: Intel Inc., Intel Iris OpenGL Engine, 2.1 INTEL-18.8.6
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.90.0
OCC: 7.9.3
Curl: 8.7.1
ngspice: 44.2
Compiler: Clang 16.0.0 with C++ ABI 1002
KICAD_IPC_API=ON
KICAD_USE_PCH=OFFEdited by Sod Almighty