5.1 CvPcb MacOS fast double clicking on footprint list doesn't assign footprints

Description

Expect double-clicking to assign footprints to components normally. But when double clicking faster, the component selection is scrolled down but footprint is not assigned. This seems to be MacOS exclusive. Bug comes from another Chinese user and I'm only here to report this for him.

Steps to reproduce

  1. Open a project and open CvPvb from Eeschema
  2. Select a component in the center list, and double click on the right side footprint list
  3. Doing it slower is fine, when double-clicking faster, the problem appears.

KiCad Version

Application: KiCad
Version: (5.1.9-0-10_14), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0
Platform: macOS Version 10.16 (Build 20B50), 64 bit, Little endian, wxMac
Build Info:
    wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)
    Boost: 1.75.0
    OpenCASCADE Technology: 7.5.0
    Curl: 7.54.0
    Compiler: Clang 10.0.1 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    USE_WX_OVERLAY=ON
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_USE_OCC=ON
    KICAD_SPICE=ON

20210202_005547_836

Edited by RigoLigoRLC