Skip to content

Commit 415b202

Browse files
ShahzaibIbrahimHeikoKlare
authored andcommitted
Added N&N for monitor-specific UI rescaling on Windows
eclipse-platform/eclipse.platform.ui#2461
1 parent 0d9fe77 commit 415b202

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
52.6 KB
Loading
51.5 KB
Loading
77.3 KB
Loading

news/4.34/platform.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,48 @@ <h2>Themes and Styling </h2>
112112
<td id="GeneralUpdates" class="section" colspan="2">
113113
<h2>General Updates </h2>
114114
</td>
115+
<tr id="rescale-on-runtime-preference"> <!-- https://github.com/eclipse-platform/eclipse.platform.ui/pull/2461 -->
116+
<td class="title">Monitor-Specific UI Rescaling (Experimental, Windows only)</td>
117+
<td class="content">
118+
<p>
119+
This update introduces a preference to enable an improved, monitor- and resolution-specific UI scaling on Windows.
120+
The feature makes each window adapt its scaling to the monitor it is currently placed on in a sharp,
121+
resolution-specific way and without requiring the application to restart.
122+
When using multiple windows, each of them will adapt its scaling to the monitor it is placed on.
123+
When enabling the feature, it replaces the existing scaling support for high-resolution monitors that is limited to
124+
initializing the application's window according to the scaling of the primary monitor at startup and adapting to
125+
monitors with other scale values only via blurry scaling or via an application restart.
126+
</p>
127+
<p>
128+
To enable this feature, check the <i>Monitor-specific UI scaling</i> box on the <b>Appearance</b> preference page
129+
(<b>Window > Preferences > General > Appearance</b>), as shown in the image below.
130+
In addition to the enhanced UI scaling, this preference also enables the Edge browser as default for an improved
131+
browser scaling experience.
132+
The feature is still under development, thus marked as <i>experimental</i> and disabled by default. We encourage users
133+
to <b>explore this feature</b> and <b>share their feedback</b> to help us improve the functionality.
134+
</p>
135+
<p>
136+
<img src="images/hidpi-setting-preference.png" alt="Monitor-Specific UI Rescaling Preference" width="600">
137+
</p>
138+
<p>
139+
The functionality can also be used in pure SWT applications. See <a
140+
href="platform.php#rescale-on-runtime-preference">this news</a> on the according SWT API changes.
141+
</p>
142+
<p>
143+
The images below demonstrate the scaling behavior in an extract of an Eclipse application when moving the window
144+
from a primary monitor with 100% scaling to another monitor with 200% scaling, first having the feature disabled and
145+
second having it enabled.
146+
</p>
147+
<p>
148+
With monitor-specific UI rescaling <b>disabled</b>:
149+
<img src="images/rescaling_disabled.png" alt="Monitor-Specific UI Rescaling Disabled" width="600">
150+
</p>
151+
<p>
152+
With monitor-specific UI rescaling <b>enabled</b>:
153+
<img src="images/rescaling_enabled.png" alt="Monitor-Specific UI Rescaling Enabled" width="600">
154+
</p>
155+
</td>
156+
</tr>
115157
</tr>
116158
<!-- ******************* End of General Updates ************************************* -->
117159
<tr><td colspan="2"/></tr>

0 commit comments

Comments
 (0)