bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

[macos] crash if app is restored from minimized state using appWindow.show()

Open korvan opened this issue 3 years ago • 3 comments

Run app, minimize it using appWindow.minimize(), call appWindow.show()

Function void showWindow(NSWindow* window) will be called twice, first time from flutter UI, second time by NSApplicationMain after window appears on screen.

After second call of super.order(place, relativeTo: otherWin) in BitsdojoWindow.swift, *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '_keyUpMonitor was already created' will fire, as we call [FlutterViewController viewWillAppear] twice.

korvan avatar Jun 23 '21 13:06 korvan

Thank you for reporting this. Will be fixed in the next release.

bitsdojo avatar Aug 17 '21 18:08 bitsdojo

Hi, any progress on this? I also encountered this in system_tray 0.0.7.

RaphaelRevivor avatar Oct 09 '21 10:10 RaphaelRevivor

waiting

Yonkers avatar Nov 17 '21 07:11 Yonkers