Hello!
We have a public safety mapping application that was developed in-house using the ArcGIS Runtime for .NET (WPF).
We recently enabled per-monitor DPI awareness to our WPF application and noticed a new issue with the display of the ArcGIS map. When the window is moved between monitors with different DPI scaling, the map will sometimes go missing. Often it won't reappear on its own until you move it to another monitor.
Use of multiple monitors is a common scenario for our emergency operations center, dispatchers, and command staff so we're hoping to find a solution for this.
I've attached a small sample project using the latest version of ArcGIS Runtime .NET WPF to demonstrate the issue. You'll need to add your API key in app.xaml.cs and restore the nuget packages. The per-monitor DPI awareness is controlled in the app.manifest file.
Steps to reproduce
Additional Notes
P.S. We must enable per-monitor DPI awareness on our application to correct two issues:
Thank you in advance for your assistance!
-David
Solved! Go to Solution.
Just wanted to follow up on this. We've identified the issue and made a fix for the next release (100.15). Unfortunately I wasn't able to come up with a solid workaround for you until that release comes out.
Thank you again for the great and simple reproducer. It helped a lot.
Thank you for the great reproducer. I'm able to reproduce and looking into it.
Btw I wasn't seeing correctly scaling on my PC, and had to change 'PerMonitor' to 'PerMonitorV2' in the app.manifest to get the titlebar etc to also correctly rescale.
Thanks Morten, let us know what you find. Also, thanks for the PerMonitorV2 tip - I wasn't aware of that option!
Just wanted to follow up on this. We've identified the issue and made a fix for the next release (100.15). Unfortunately I wasn't able to come up with a solid workaround for you until that release comes out.
Thank you again for the great and simple reproducer. It helped a lot.
Thank you sir!
Confirmed that this is working now in 100.15 in our application. Thanks again!
Great! Glad it is working for you. Again thank you for making this easy to reproduce.