Open ptittof57 opened 9 months ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Verified this on Visual Studio Enterprise 17.9.0 Preview 2(8.0.3). Repro on iOS 17.0, not repro on Android 14.0-API34 with below Project: ImageRotate.zip
Description
The following code have a strange behavior when rotation value is animated on iOS device only. Image seems to move inside a rectangle of image initial width and height and it's cut and not rendered like expected. On iOS and Net-7.0, image get out of red border only for the reproduction project. But in my personal project this is the same behavior, canvas.DrawImage + canvas.Rotation cut image for both Net-7.0 and Net-8.0. Everything works like expected in Android physical device and simulator. Check print screens to see the results. I added a testing project with rotation bind into a value that change every 200ms to a better view.
Android is OK
iOS Simulator Net-7.0 (out of red border)
iOS Physical device image is cut Net-8.0
Steps to Reproduce
Run the reproduction project on iOS 17 device or simulator
Link to public reproduction project repository
https://github.com/ptittof57/MAUI-ImageRotate
Version with bug
8.0.3
Is this a regression from previous behavior?
Seems it was better with Net-7.0 but it was running out of red border.
Last version that worked well
Net-7.0 image was not cut
Affected platforms
iOS
Affected platform versions
iOS 17, Net 7 and Net 8
Did you find any workaround?
I used Image.Rotation on iOS and this worked and both iOS and Android
Relevant log output
No response