Legacy canvas: deleting footprint text element not recorded in undo list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Wayne Stambaugh |
Bug Description
If you delete a footprint text element (e.g. the Fab text) this is not recorded in the undo stack.
1) Place a footprint, enable the F_Fab layer, enter legacy mode
2) Right click the fab text, and from the Text submenu, move the text
3) Right click again, and from the submenu, delete the text
4) Press the undo hotkey
5) Result: the text reappears at the original position. Expected: the text reappears at the position it was moved to in Step 2.
This is not an issue in GAL, as the text element cannot be deleted at all.
Additionally, the delete key doesn't seem to work.
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.31.1
Platform: Linux 4.17.2-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.60.0
Compiler: GCC 8.1.1 with C++ ABI 1012
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: legacy pcbnew |
Changed in kicad: | |
importance: | Undecided → Low |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
milestone: | none → 5.0.0 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
It is a bit odd that you can modify footprint elements this way only through the context menu. Using the delete tool or the delete hot button do not delete the text element so there is a different code path in play here.