DRC: bad viewpoint on unconnected zone-fill-islands
Description
The DRC control window zooms directly to the point of error/violation if I click on one of the reported errors. With unconnected copper fills this zooming sometimes shows an inappropriate viewpoint. Especially on a crowded pcb this leads to a search for the root cause of the reported unconnected item.
I have attachd a strip-down version of a complete board which shows this behaviour.
Steps to reproduce
- open the attached project, open board, view "zoom all" (picture1)
- run DRC, see result: unconnected items: One
- goto "unconnected items" pane, click on Zone top copper error. observe: view zooms to bottom right corner
- move (pan) the viewpoint to the top left, observe: the problem is the top-copper-island around pin3 of the SOT223. There is also a small ratsnest-line displayed, which correctly indicates the missing GND-connection. But on completely populated and routed boards this little ratsnest-line gets overlooked very easy.
KiCad Version
Application: KiCad PCB Editor (32-bit)
Version: (5.99.0-12505-gd39f79b55b), release build
Libraries:
wxWidgets 3.1.5
Platform: Windows 10 (build 19041), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.78.0-DEV
ngspice: 35
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON