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

Fix DPI scaling in Release builds #272

Merged
merged 1 commit into from Mar 8, 2021

Conversation

pstranak-sw
Copy link
Contributor

A fix for #269 (comment)

@pstranak-sw pstranak-sw mentioned this pull request Mar 8, 2021
@pstranak-sw pstranak-sw requested a review from tdanner March 8, 2021 22:09
Copy link
Contributor

@tdanner tdanner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local release build looks good now.

@tdanner tdanner merged commit 532eba6 into solarwinds:master Mar 8, 2021
@danjagnow
Copy link
Contributor

Nice work, @pstranak-sw! How did you figure that out?

@pstranak-sw
Copy link
Contributor Author

In the original PR, there was only one change, that could possibly affect the menu toolbar in the main window. And if something works in Debug mode and not in Release mode (or vice versa), there's usually a race condition somewhere. So I tried to suspend layout events before the suspected code and resume them after. And it helped. But I'm still not 100% sure, why.

@pstranak-sw pstranak-sw deleted the feature/hiDpiSupport branch March 8, 2021 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants