Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

cwensley
Copy link
Member

@cwensley cwensley commented Aug 24, 2023

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.

@cwensley cwensley added this to the 2.8.0 milestone Aug 24, 2023
@cwensley cwensley merged commit 6be061e into picoe:develop Aug 24, 2023
3 checks passed
@cwensley cwensley deleted the curtis/mac-no-attach-on-nspanel branch August 24, 2023 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant