Mac Multiple Monitor Modal Dialog Freeze

Description

On my Multi-Monitor Mac (3 monitors in my case), if a modal dialog appears (like properties) and I try to move it to another monitor too fast, the modal dialog will not be rendered and you basically cannot proceed. Only solution is to force quit KiCad.

Just to be clear, a modal dialog has to be closed or canceled before an app can continue. (For those not familiar)

Steps to reproduce

  1. Have a Multi-Monitor Display Setup!
  2. Open Kicad on One Display
  3. At some point choose edit (or anything that has a modal dialog)
  4. Try to move the modal dialog to another display monitor. 4a. On a mac, the dialog is not always rendered immediately, you have to keep your mouse on the new display monitor until the dialog is rendered, then you can release 4b. If you do it fast enough where the OS minimizes the Modal Dialog and you release the mouse button, the modal window disappears.
  5. Can't close the modal, can't see . Have to force quit

Note: ONCE , my main window was small enough that when I moved it all the way to the edge of the screen, the modal window reappeared on the same Display, allowing me to continue

It is possible that this is an OS issue, but I can't determine that.

KiCad Version

Application: KiCad Schematic Editor

Version: (5.99.0-13222-g16a34e6adb), release build

Libraries:
	wxWidgets 3.1.5

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

	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.3
	Curl: 7.64.1
	ngspice: 35
	Compiler: Clang 12.0.0 with C++ ABI 1002

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
Edited by Jacques Amar