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

ExternsionsMP: fix ShowUserControl minimize bug #3479

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

robertlong13
Copy link
Collaborator

When minimizing a form generated by ShowUserControl, the client size gets set to 0, which causes issues when the form is restored. The easiest place to see this is the Joystick config window, but that has a minimum size; it's much worse on things that don't have a minimum size, like the bitmask parameter popup.

Sizes should only be copied when the window state is normal.

When minimizing a form generated by ShowUserControl, the client size
gets set to 0, which causes issues when the form is restored. Sizes
should only be copied when the window state is normal.
@robertlong13 robertlong13 requested a review from meee1 January 17, 2025 06:10
@meee1 meee1 merged commit 2d32aca into ArduPilot:master Jan 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants