Skip to content

Commit 44de289

Browse files
HeikoKlaremerks
authored andcommitted
Add N&N on monitor-specific scaling enhancements
Several quality improvements for monitor-specific scaling on Windows have been implemented for the 4.38 release. This news summarizes some of the relevant enhancements.
1 parent 344bdb5 commit 44de289

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed
118 KB
Loading
65 KB
Loading

news/4.38/platform.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,67 @@ Once the setting is saved, the console title updates in the chosen format
8282

8383
![Console Elapsed Time Format](images/ConsoleElapsedFormat.png)
8484

85+
86+
---
87+
### Enhancements of Monitor-Specific UI Scaling on Windows
88+
89+
<details>
90+
<summary>Contributors</summary>
91+
92+
- [Shahzaib Ibrahim](https://github.com/ShahzaibIbrahim)
93+
- [Federico Jeanne](https://github.com/fedejeanne)
94+
- [Arun Jose](https://github.com/arunjose696)
95+
- [Heiko Klare](https://github.com/HeikoKlare)
96+
- [Andreas Koch](https://github.com/akoch-yatta)
97+
- [Amartya Parijat](https://github.com/amartya4256)
98+
</details>
99+
100+
In the Eclipse 2025-06 release, [monitor-specific scaling was enabled as the default mode](../4.36/platform.md#monitor-specific-ui-scaling-as-default-windows-only) for UI scaling on Windows.
101+
With that feature enabled, each application window adapts to the zoom of the monitor it is placed on in a sharp, resolution-specific way.
102+
103+
In this release, several quality improvements for this feature have been implemented.
104+
The feature is still under continuous development.
105+
We encourage users to [share their feedback](https://github.com/eclipse-platform/eclipse.platform.swt/issues/1961) to help us improve the functionality.
106+
107+
#### Improvements
108+
The improvements in this release include (but are not limited to) the following.
109+
110+
##### Performance
111+
The performance when moving a window from one monitor to another with a different zoom has been significantly improved.
112+
This makes moving a window to another monitor feel faster.
113+
It is based on these two improvements:
114+
- The general performance of the adaptation logic has been improved.
115+
- The adaptation of window contents to the new monitor is now executed asynchronously.
116+
117+
##### Layouting
118+
Several improvements regarding layouting for different monitor zooms have been implemented.
119+
- In particular, control sizes may have been a bit too small before, which is not the case anymore.
120+
- Non-resizable dialogs now adapt their layout better when moved to another monitor with a different zoom.
121+
- Some spacing calculations based on fixed numbers have been improved to better incorporate the actual monitor zoom.
122+
123+
##### Images and Icons
124+
Image handling has been further improved, also including a [new feature for sharp rendering](platform_isv.md/new-gc-api-for-drawing-scaled-images).
125+
In addition, the following specific issues have been addressed:
126+
- When using Gif images, they may not loose their transparency (i.e, get black backgrounds) when moving between different monitors with different zooms anymore.
127+
- An issue with some application icons (for title bar and task bar) becoming invisible has been fixed.
128+
129+
##### Cursors
130+
Custom cursors may have not been properly scaled, as they did not adhere to Windows cursor size settings. Adapting the cursor size to the Windows settings has been implemented.
131+
132+
#### Appearance
133+
134+
The images below demonstrate the scaling behavior in an extract of an Eclipse application when moving the window from a primary monitor with 150% scaling to another monitor with 200% scaling.
135+
In the first image, the feature disabled (possible via Eclipse preferences), and in the second it is enabled.
136+
137+
On a 200% monitor with the feature being **disabled**:
138+
139+
![Monitor-Specific UI Scaling Disabled](images/MonitorSpecificScalingOff.png)
140+
141+
On a 200% monitor with the feature being **enabled**:
142+
143+
![Monitor-Specific UI Scaling Enabled](images/MonitorSpecificScalingOn.png)
144+
145+
85146
---
86147
## Debugger
87148

0 commit comments

Comments
 (0)