eeschema hangs when opened if it was last shown on a different monitor

Description

eeschema hangs when i try to open a schematic either from kicad or direct from a file. PCB and others do not hang. I have triple monitors and I found that if I keep the schematic editor in the center it runs fine and I can open and close without issues. If I close the program with the schematic editor on the left or right side then the next time I open eeschema hangs unless I delete eeschema.json before.

Steps to reproduce

  1. Start KiCad
  2. Click on Schematic Editor
  3. Drag Schematic editor to my left or right monitor
  4. Close Kicad
  5. Open Kicad
  6. Open a schematic
  7. schematic hangs

KiCad Version

Application: KiCad (64-bit)

Version: (6.0.5), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.82.0-DEV Schannel zlib/1.2.12

Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: May  3 2022 00:36:16
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.0
	Curl: 7.82.0-DEV
	ngspice: 36
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

Faulting_eeschema.json

Works_fine_eeschema.json

Edited by Jeff Young