dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.21k stars 1.75k forks source link

Rotating an image with an animation results in a wobble #15116

Open srqdevg opened 1 year ago

srqdevg commented 1 year ago

Description

I was working on my own Custom Activity Indicator used my clients logo. It is a perfectly circular SVG. When I created an animation for it that rotates the image until it stops you could see a wobble in it. I've created a test app with a perfectly circular SVG sitting on what should be a perfectly circular ellipse. You can see that the SVG would appear to be correctly circular while the ellipse is not (everything should be centered) using my mouse cursor as a crude check. Now when you start animation the SVG bounces around.

Steps to Reproduce

Download the repo, compile and run.

Link to public reproduction project repository

https://github.com/srqdevg/MauiAppAnimateImage

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows build 10.0.22621

Did you find any workaround?

None

Relevant log output

No response

XamlTest commented 1 year ago

Verified this on Visual Studio Enterprise 17.7.0 Preview 3.0. Repro on Windows 11 with below Project: MauiAppAnimateImage.zip

Rotating