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

Clamp dialogs to closest screen #3316

Merged

Conversation

DenSinH
Copy link
Contributor

@DenSinH DenSinH commented Mar 6, 2025

In the current master version, it is still possible to have dialogs open outside of the screen if one drags the main window partially outside of the display, making the entire app unresponsive. We added a method that clamps the preferred bounds of the dialog to the screen it is closest to, so that it will never show up out of bounds.

@shroffk shroffk merged commit 83ffaa3 into ControlSystemStudio:master Mar 7, 2025
1 check 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