Pressing Enter twice on Update PCB from Schematic causes KiCad to hang
Description
If you open up Schematic Editor and press F8 to "Update PCB from Schematic" Pressing enter twice quickly causes KiCad to go into some infinite loop and gets stuck at the "Refill 1 Zones" dialog.
Eventually a dialog bog comes up with KiCad is not repsonding. If you wait after a few seconds it's comes back with not responding. The only option is to terminate.
Screencast_from_2023-10-29_10-37-27
Steps to reproduce
- Open Schematic Editor
- Press F8
- When the "Update PCB from Schematic" window loads press enter twice quickly.
I can recreate this issue every time with the attached project.
KiCad Version
Application: KiCad x86_64 on x86_64
Version: 7.0.8-7.0.8~ubuntu23.04.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Ubuntu 23.04, 64 bit, Little endian, wxGTK, ubuntu, x11
wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.88.1
ngspice: 38
Compiler: GCC 12.3.0 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON