wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 36 forks source link

When using the msi internal UI with WixInternalUIBootstrapperApplication on high dpi monitor, the UI is too small #8538

Open dcm99 opened 3 months ago

dcm99 commented 3 months ago

WiX Version

5

.NET or MSBuild or Visual Studio Version

.Net 8.0.300

HeatWave Version

1.0.4

Windows Version

Win10 22H2

Repro Repo

https://github.com/dcm99/InternalUiBaDpiIssueExample

Repro Steps

  1. build project
  2. start Bundle1.exe on an Monitor with 150% scaling or higher

Actual Result

grafik the UI displays to small

Expected Result

grafik If you start the MSI File directly the scaling is correct

Acknowledgements

barnson commented 2 months ago

Works as expected in Windows 11, fwiw.

dcm99 commented 2 months ago

Thanks for taking a look at it. After you couldn't recreate it on Windows 11, I wanted to recreate it today with my Windows 11 machine on the same monitor setup. But before I copied the files from my Windows 10 machine, I tried it again on the same system and suddenly I can't recreate it. The scaling on Windows 10/11 is weird, especially when using monitors with different DPI settings. Sorry, next time I'll test on at least one other system before submitting an issue.