Open james1301 opened 3 years ago
Maybe Duplicated : #3060 #2942 #947
Link: #2031
Similar to those and I'm sure sorting those would probably sort this too. But this one is definitely a bug in .NET compared to it working consistently in .NET Framework. It's unusable as is, DPI aware or not DPI aware would be acceptable to me, just not trying to do a bit of both while it loads up, that is the best of no worlds.
Hi @james1301,
Were you able to test this on 4.8? Thanks.
@ryalanms, yeah I tested it and it was fine on .NET Framework 4.8.
@ryalanms, @lindexi has anything happened with this?
@james1301 Now I use https://github.com/kkwpsv/SplashImage . See https://github.com/dotnet/wpf/issues/2031
Thanks @lindexi, but there doesn't seem much activity on that GitHub, we use very few third party libraries and the ones we do use need a certain level of popularity and support for us to consider using them so we know they should be all good for the future and hopefully well tested.
Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? No
Problem description:
Default SplashScreen image appears initially at wrong dpi in the center of the screen. It it then corrects the DPI and then is no longer in the center of the screen. So on a DPI higher than 100%, it appears to shrink and move off center.
Actual behavior:
SplashScreen appears at wrong DPI and then corrects itself (shrinks) and is moved off center.
Expected behavior:
SplashScreen appears at correct DPI and remains in the center of the screen.
Minimal repro:
Attached Sample: SplashScreenProblem.zip