XamlRoot.RasterizationScale
is 2.88 on iPhone Mini 13 instead of 3
#16793
Labels
area/windowing
Categorizes an issue or PR as relevant to window management
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
RasterizationScale is 2.88 instead of 3 causing Touches to be some pixels off on iPhone Mini 13 on iOS 15.5 in the Simulator. On other devices it works.
Expected behavior
RasterizationScale is 3 causing Touches to be at the correct position. Could be an SkiaSharp issue that somehow the Density is calculated different on iPhone Mini 13 in Simulator.
How to reproduce it (as minimally and precisely as possible)
Workaround
None yet except detecting iPhone Mini and taking 3 instead of 2.88 as the density.
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
5.2.132
Affected platforms
iOS
IDE
Visual Studio 2022
IDE version
17.10
Relevant plugins
Resharper
Anything else we need to know?
Reproduction Sample, Start it in iPhone Mini 13 Simulator comes with 15.5 SDK Devices.
UnoClick.zip
The text was updated successfully, but these errors were encountered: