graphical glitch after drc+subsequent undo
Description
With the steps below there remains a graphical glitch after:
- moving a footprint with NPTH-holes
- running drc
- undo all operations
- ghost-holes of the NPTH at intermediate positions
After closing/reopening the board looks good, the ghost-holes are vanished.
Steps to reproduce
- open attached project, open board: undo_moved_drc.zip
- select FP "cutout1", move 3cm to the right (see picture 1+2)
- run drc, (see picture 3), close drc-dialog
- 2x CTRL+Z to undo all operations and restore the intial state
- observe 4x ghost-holes at the intermediate positions of 4xNPTH-holes
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: (7.0.0-rc1-18-ga369fd6a9c), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.86.0-DEV
ngspice: 38
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON