vi-eclipse / Eclipse-Platform

Umbrella repository for managing a backlog of features/issues related to the Eclipse Platform
2 stars 0 forks source link

Verify DPIUtil.autoScaleUpUsingNativeDPI() Compatibility with Multi-Monitor HiDPI Support #101

Closed ShahzaibIbrahim closed 3 months ago

ShahzaibIbrahim commented 4 months ago

The current implementation of the method does not use the native zoom of the current monitor. Instead, it relies on the value stored in DPIUtil, which only reflects the last DPI change and not the actual "current" monitor. This causes issues in multi-monitor setups where different monitors have different DPI settings. Specifically:

Steps to Reproduce:

Observed Result: Indents and other UI elements are broken because the native zoom of the second monitor is applied to the original monitor's view.

Expected Result: Each monitor's native zoom should be used correctly without affecting the views on other monitors.

ShahzaibIbrahim commented 3 months ago

https://github.com/eclipse-platform/eclipse.platform.swt/pull/1357

HeikoKlare commented 3 months ago

PR has been merged: https://github.com/eclipse-platform/eclipse.platform.swt/pull/1357