Skip to content

Conversation

@akoch-yatta
Copy link
Contributor

This PR addresses and issue with DPIUtil#runWithAutoScaleValue. It only adapted DPIUtil#autoScaleValue temporarily. As DPIUtil#deviceZoom is directly affected by autoScaleValue, it is important to adjust it temporarily as well.
fixes eclipse-platform/eclipse.platform.ui#2897

@akoch-yatta akoch-yatta linked an issue Apr 17, 2025 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 2025

Test Results

   545 files  ±0     545 suites  ±0   27m 55s ⏱️ +42s
 4 373 tests ±0   4 361 ✅ ±0   12 💤 ±0  0 ❌ ±0 
16 634 runs  ±0  16 520 ✅ ±0  114 💤 ±0  0 ❌ ±0 

Results for commit 1824ac7. ± Comparison against base commit 7cc858e.

♻️ This comment has been updated with latest results.

Copy link
Member

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

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

I tested this with all possible combinations of:

  • (JVM-args) -Dswt.autoScale: quarter, exact, integer, integer200, false, 225 and without the argument (i.e. rely on the default)
  • Windows (OS) zoom level: 100%, 175% and 225%
  • Monitor-specific scaling: enabled and disabled

I found no regressions and the PR fixes the issue.

Also, the 8 failing tests where introduced by #2030 and will be fixed by #2032

This commit addresses and issue with DPIUtil#runWithAutoScaleValue. It
only adapted DPIUtil#autoScaleValue temporarily. As DPIUtil#deviceZoom
is directly affected by autoScaleValue, it is important to adjust it
temporarily as well.
fixes eclipse-platform/eclipse.platform.ui#2897
@HeikoKlare HeikoKlare force-pushed the fix-DPIUtil-runWithAutoscale branch from 0d599f2 to 1824ac7 Compare April 17, 2025 13:44
@fedejeanne fedejeanne merged commit 2a00032 into eclipse-platform:master Apr 17, 2025
10 of 12 checks passed
@fedejeanne fedejeanne deleted the fix-DPIUtil-runWithAutoscale branch April 17, 2025 14:24
@HeikoKlare
Copy link
Contributor

Since Jenkins build failed for the PR: the subsequent master build after merging was successful has no new issues (https://ci.eclipse.org/releng/job/eclipse.platform.swt/job/master/1108/)

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.

Splash image missing The splash screen is not working for me on Windows

3 participants