Skip to content

Clamp dialogs to closest screen#3316

Merged
shroffk merged 1 commit intoControlSystemStudio:masterfrom
High-Voltage-Engineering:master
Mar 7, 2025
Merged

Clamp dialogs to closest screen#3316
shroffk merged 1 commit intoControlSystemStudio:masterfrom
High-Voltage-Engineering:master

Conversation

@DenSinH
Copy link
Copy Markdown
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