Slow response from large imported DXF file (160,000+ line segments).

Description

Hello Team,

When i am importing DXF and moving that DXF it is hanging to much and some time it automatically close down and some time it ask wait or force quite when we are pressing the icon of wait it take too much time to respond.

Steps to reproduce

  1. FILE --> IMPORT --> GRAPHICS --> Import DXF
  2. Then select DXF in board file for moving

KiCad Version

Application: KiCad

Version: 6.0.4-6f826c9f35~116~ubuntu20.04.1, release build

Libraries:
    wxWidgets 3.0.4
    libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.13.0-35-generic x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11

Build Info:
    Date: Mar 21 2022 17:21:29
    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.81.0
    ngspice: 31
    Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON

hanging

Edited by Jeff Young