-
Notifications
You must be signed in to change notification settings - Fork 228
Correct activation of monitor-specific rescaling on Windows #2689
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
Correct activation of monitor-specific rescaling on Windows #2689
Conversation
45483b1 to
55892dc
Compare
Test Results 1 818 files ±0 1 818 suites ±0 1h 32m 15s ⏱️ +58s For more details on these failures, see this check. Results for commit 19e3364. ± Comparison against base commit 904bdd7. ♻️ This comment has been updated with latest results. |
bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
fedejeanne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works as expected, I only have 2 minor comments regarding coding practices.
bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
The activation of monitor-specific rescaling on Windows currently relies on the method Display#setRescalingAtRuntime(), which was found to not take the full intended effect. This change thus replaces the call to that method based on the value of the according experimental preference by setting the according system property to activate that behavior in a proper way. It also removes the obsolete activation of Edge when the experimental preference is set, as Edge has been enabled by default.
55892dc to
19e3364
Compare
|
Looks good to me as well. |
|
Required SWT PR has been merged. Failing test is unrelated and documented: #867 |
The activation of monitor-specific rescaling on Windows currently relies on the method Display#setRescalingAtRuntime(), which was found to not take the full intended effect.
This change thus replaces the call to that method based on the value of the according experimental preference by setting the according system property to activate that behavior in a proper way. It also removes the obsolete activation of Edge when the experimental preference is set, as Edge has been enabled by default.
Adapts to eclipse-platform/eclipse.platform.swt#1720
Requires eclipse-platform/eclipse.platform.swt#1719