Checklist of barcode stuff (was: DRC crash if new QR code is used)
Description
If the new barcode command is used and a QR code (probably other code types also) is placed on the board any subsequent DRC run crashes pcbnew.
Sentry ID: fe7a265d-0502-4c99-b48a-0b410b7ed30c
side-question: this nightly is the first version with the barcode feature, there are many more bugs. Is this work in progress or should I open a issue for every bug? (the list is more for me to not forget something)
-
crash running DRC (this issue) -
QR code on copper not respected by zone fills -
QR code on copper not respected by interactive router -
flipping QR to bottom side does not work: just places QR code on bottom side, but doesn't mirror text+graphics -
preview window of the QR-code dialog doesn't center the QR code -
QR-code as part of a selection: rotate the selection (hotkey "R") does not work. Instead every QR-code alone is rotated by 90° -
scaling QR-code with bottom right handling point and moving to top left gives unexpected behaviour -
changes done with the QR code properties dialog are not committed to the undo/redo stack - so can't be undone (contrary changes done with the left side properties panel are correctly handled by undo/redo) -
no output functions tested yet (print/plot/fabrication/export) -
grouping does not work -
no locking-shadow if QR code is locked -
move/copy with reference: QR-code should support at least a central point for snapping, maybe additional the 4 corner points. -
assigned standard hotkey "CTRL+Shift+B" conflicts with hotkey for bezier lines. Personally I would remove both and leave the standard hotkey list empty for these commands.
Steps to reproduce
- open attached project, open board: QR_code_01.zip
- notice two QR-codes are placed on the pcb
- run drc: get a crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 9.99.0-3418-g3f1999795c, release build
Libraries:
wxWidgets 3.3
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
OpenGL: Intel, Intel(R) HD Graphics 4000, 4.0.0 - Build 10.18.10.5161
wxWidgets: 3.3.0 (wchar_t,STL 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
KICAD_USE_PCH=OFF
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by Maik Freitag