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

Replace DPIUtil.get(Native)DeviceZoom for win32 #1369

Merged

Conversation

amartya4256
Copy link
Contributor

Now that we have the zoom level information avaialble for the element, we can use the right zoom information instead of DPIUtil.get(Native)DeviceZoom method calls since this information might not always be right.

Copy link
Contributor

github-actions bot commented Jul 26, 2024

Test Results

   486 files  ±0     486 suites  ±0   8m 29s ⏱️ +13s
 4 150 tests ±0   4 142 ✅ ±0   8 💤 ±0  0 ❌ ±0 
16 357 runs  ±0  16 265 ✅ ±0  92 💤 ±0  0 ❌ ±0 

Results for commit a26032d. ± Comparison against base commit 24c8513.

♻️ This comment has been updated with latest results.

@amartya4256 amartya4256 marked this pull request as ready for review July 26, 2024 14:27
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

The changes look sound.

@akoch-yatta are the changes also okay from your side?

@akoch-yatta
Copy link
Contributor

The changes look sound.

@akoch-yatta are the changes also okay from your side?

Looks good to me as well

This commit replaces DPIUtil.get(Native)DeviceZoom calls for win32 and
uses the zoom information available within the controls.

contributes to eclipse-platform#62 and eclipse-platform#127
@HeikoKlare HeikoKlare merged commit 58180a4 into eclipse-platform:master Jul 29, 2024
14 checks 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.

Replace remaining calls to DPIUtil::get(Native)DeviceZoom()
3 participants