picoe / Eto

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

Don't attach a dialog when launched from an NSPanel #2544

Closed cwensley closed 12 months ago

cwensley commented 12 months ago

When showing a Dialog from an NSPanel on macOS, we shouldn't attach the dialog as NSPanels are not really intended to be used that way. You can still override this behaviour by setting the DisplayMode of the dialog explicitly.

For example, a FloatingForm (NSPanel) should never really automatically use an attached dialog unless it has been explicitly set.