picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.61k stars 327 forks source link

Mac: Fix Window.Location when only SizeChanged is handled #2656

Closed cwensley closed 4 months ago

cwensley commented 4 months ago

If you create a Form/Dialog and only handle its SizeChanged event, reading Window.Bounds would give you the wrong location.

Also set EtoWindow/EtoPanel.Delegate to null when disposed for monomac, for the case the form is never shown, which fixes some unit tests.