Undo does not work after "position relative to" movement of group
Description
When a group is moved with Special Tools / Position Relative To ... [Shift + P] from the [RMB] popup menu, then undo with [Ctrl +Z] does not work for the group. The other special tools "Move Exactly" and "Move with Reference" work as expected.
Steps to reproduce
- Create a group on the PCB.
- Select the group (and optionally some other items).
- From the [RMB] Popup menu: Special Tools / Position Relative To ... [Shift + P]
- Move the group and the other selected items with it.
- [Ctrl + Z] does undo the move of the "other items", but not for the group.
This was first reported on the user forum by "LiamObsolete" (Using KiCad V6.0.4) and confirmed by me in the latest stable KiCad version.
https://forum.kicad.info/t/cant-undo-after-position-relative-to-movement-of-group/36165/
KiCad Version
Description
Steps to reproduce
KiCad Version
Application: KiCad PCB Editor
Version: 6.0.5-a6ca702e91~116~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.13.0-27-generic x86_64, 64 bit, Little endian, wxGTK, xfce, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.83.0
ngspice: 36
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON