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

Mac: Allow interaction with FloatingForm when it has WindowStyle.None or Default #2235

Conversation

cwensley
Copy link
Member

@cwensley cwensley commented Jun 2, 2022

A FloatingForm is analogous to an NSPanel on Mac, which should allow interaction while the application is active. The user should be able to resize the form, even if the owner of the FloatingForm has been set. This fixes the issue where the mouse cursor would not update when trying to resize a FloatingForm if its owner was set, which automatically sets the level of the window to Normal. Now we set the level of the NSPanel to Floating when its owner has focus, and Normal when it does not have focus.

@cwensley cwensley added this to the 2.7.1 milestone Jun 2, 2022
@cwensley cwensley force-pushed the curtis/mac-floating-form-without-border-should-allow-interaction branch 2 times, most recently from 1dab688 to f458a8f Compare June 3, 2022 16:22
@cwensley cwensley force-pushed the curtis/mac-floating-form-without-border-should-allow-interaction branch from f458a8f to f61fe46 Compare June 3, 2022 16:29
@cwensley cwensley merged commit 2a51c37 into picoe:develop Jun 3, 2022
@cwensley cwensley deleted the curtis/mac-floating-form-without-border-should-allow-interaction branch June 3, 2022 16:49
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