Eeschema: ESC key has no effect over Add a Symbol dialog

The dialog "Add a Symbol" on Eeschema doesn't respond to the "ESC" key action... When I press "ESC" the dialog is not cancelled...

This seems to be an issue on Mac OS only... This is present since 5.99 for quite some time now...

Replicate:

  1. Open "EEschema"
  2. Add a Symbol - press "a"
  3. Press "ESC" key... The dialog doesn't close.

Running:

Application: KiCad Schematic Editor

Version: (6.0.0-rc1-343-g73b39e836d), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.77.0 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.42.0

Platform: macOS Version 12.0.1 (Build 21A559), 64 bit, Little endian, wxMac

Build Info:
	Date: Dec  6 2021 17:03:49
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.6.0
	Curl: 7.64.1
	ngspice: 35
	Compiler: Clang 12.0.0 with C++ ABI 1002

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

Best regards, Diogo

Edited by Jeff Young