[v8.99] pcbnew | Hanging for minutes after a move and its undo
Description
KiCAD v8.99 hangs for minutes after moving (elements of) the pcb and undoing the change.
Steps to reproduce
- Open the attached PCB (reproducible for other PCBs also): isa-extender.zip
- Mark everything
- Press 'm' to move or drag via mouse
- Click to drop and stop the move
- Press Ctrl+Z (or press the undo icon in the menu bar)
- Watch pcbnew hang for many minutes before recovering (with the undo done).
- Further clicking during this process shows the window being busy.
KiCad Version
Application: KiCad x64 on x64
Version: 8.99.0-460-g2a6a29830d, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.14.2
libcurl/8.6.0-DEV Schannel zlib/1.3.1
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 23 2024 07:08:56
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.7.1
Curl: 8.6.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: