Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-Monitor Aware: Does not pick up DPI if started on a monitor with different DPI #40

Open
wizzard0 opened this issue Feb 18, 2018 · 0 comments

Comments

@wizzard0
Copy link

Repro:
0. Win10 1709, VS2017, .NET 4.7.1

  1. Have 2 monitors, with DPI 96 and 192 (for example). I use Surface Book + regular monitor
  2. Set "Second screen only", logoff, login again, have system DPI at 96
  3. Switch to "PC Screen only"
  4. Open PerMonitorDemo.sln, confirm that Visual Studio uses raster scaling at this point.
  5. Start app, Observe controls messed up.
    5.1. If you switch monitors to "Extend", the DPIChanged message arrives, and the app rescales properly.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant