You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v6/changes.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ <h4>New Attributes</h4>
76
76
<li><spanclass="code">displays()</span> added <spanclass="code">serial</span>, <spanclass="code">displayId</span> and <spanclass="code">productionYear</span> on Windows (previously macOS only)</li>
77
77
<li><spanclass="code">displays()</span> added <spanclass="code">RDP</span> as connection type for remote desktop / indirect displays (Windows)</li>
78
78
<li><spanclass="code">displays()</span> added <spanclass="code">mirror</span> (true if the display is part of a mirrored / duplicated set, #930)</li>
79
+
<li><spanclass="code">displays()</span> added <spanclass="code">scale</span> (DPI scaling factor of the display, e.g. <spanclass="code">1.5</span> for 150% - Windows only)</li>
79
80
<li><spanclass="code">gpu()</span> added <spanclass="code">temperatureGpu</span> on Apple Silicon (optional <spanclass="code">macos-temperature-sensor</span> package)</li>
80
81
<li><spanclass="code">cpuTemperature()</span> added support for the <spanclass="code">macos-temperature-sensor</span> package (Apple Silicon, incl. <spanclass="code">chipset</span> / SoC temperature)</li>
@@ -94,6 +95,7 @@ <h4>Fixes (open version 5 issues resolved in version 6)</h4>
94
95
<li><spanclass="code">displays()</span> EDID parsing with multiple monitors - all displays reported the first monitor's model, resolution and size (Linux, #997)</li>
95
96
<li><spanclass="code">displays()</span> display positions (<spanclass="code">positionX</span> / <spanclass="code">positionY</span>) are now parsed from xrandr (Linux, #866)</li>
96
97
<li><spanclass="code">displays()</span> per-display refresh rate instead of copying the primary monitor's rate to all displays (Windows, #853)</li>
98
+
<li><spanclass="code">displays()</span><spanclass="code">resolutionX/Y</span>, <spanclass="code">currentResX/Y</span>, <spanclass="code">positionX/Y</span> are now physical pixels read from <spanclass="code">EnumDisplaySettings</span> - <spanclass="code">Forms.Screen</span> bounds are DPI scaled and mixed scaled sizes with unscaled positions, so a scaled monitor reported a wrong resolution and pushed all other monitors to wrong positions (Windows)</li>
97
99
<li><spanclass="code">displays()</span> monitor data (connection type, size) is now correlated by <spanclass="code">InstanceName</span> - fixes swapped values on multi-GPU setups (Windows, #764)</li>
0 commit comments