Since version 1.1.5 all animations are stuck
See original GitHub issueReally can’t understand why (hope I didn’t miss any new flag), but was able to repro it in a small project. Since version 1.1.5, all animations are very laggy/stuck, it’s solved after some time.
Here’s the repro solution - FluentAvaloniaAnimationBug1.1.5.zip
Or code here - App.xaml
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:styling="clr-namespace:FluentAvalonia.Styling;assembly=FluentAvalonia"
x:Class="Avalonia.NETCoreApp2.App">
<Application.Styles>
<styling:FluentAvaloniaTheme
RequestedTheme="Light" />
</Application.Styles>
</Application>
MainWindow.xaml
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Avalonia.NETCoreApp2.MainWindow"
Title="Avalonia.NETCoreApp2">
<ProgressBar IsIndeterminate="True" Width="100" Foreground="Red"/>
</Window>
Csproj
<PackageReference Include="FluentAvaloniaUI" Version="1.1.6" />
It is using ProgressBar
, run it, the ProgressBar
will not move at all.
Change the FluentAvaloniaUI
package to 1.1.3
or below to see the animation being fixed.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
ADXP MCO animations not working : r/skyrimmods
Player animations work, but NPC power attacks don't --> SCAR related issue, you need latest versions from both MCO and SCAR. T/A-posing when ......
Read more >How to Fix stuck animations/ Scenes that won't progress
Reinstall the updated version of ZAZ and let it overwrite everything, that should fix the issues with CD as I only relied on...
Read more >Animation getting stuck - Scripting Support
As you see, when I try to go from blocking back to idle, the animation gets stuck and my character is stuck in...
Read more >EVG Animated Traversal - Skyrim Special Edition
A framework to add new animation prompts for the player to climb ledges, squeeze in tight spaces, jump over walls and more.
Read more >CustomEmotesAPI | Thunderstore - The Risk of Rain 2 Mod ...
It only worked on a couple of mods anyway. Version 1.1.5: Fixed issue with resolution scaling causing you to be stuck in the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can only partially reproduce all animations breaking. ProgressBar obviously fails, and the scaling animations to the ContentDialog also fail (but the opacity transition still works). I’ve added a simple
Button
scaling animation to your repro project to testAnd this works. What’s weird is that adding this Button (with the ProgressBar still there) seems to jump start the animation system and the ProgressBar (or ContentDialog scale) works again.
An interesting finding though, if I remove the initial value for the ScaleTransform (or use the TransformOperationsTransition syntax
RenderTransform="scale(1)"
):all animations freeze. Which doesn’t repro (all animations still work) in 1.1.3, which was Avalonia 0.10.7. I looked at the release notes for 0.10.8-0.10.10 and I don’t see any big animation system fixes, but I’m wondering if something was tweaked and if there’s an “incorrect” animation in one of the controls causing the RenderTransform animator to fail initializing for some reason and then adding a valid animation restarts it all properly. I’ll look more into this over the weekend
Thank you! Checked master and it works (FYI my app main window has an invisible PB, couldn’t use 1.1.5 otherwise) Will try reproducing it in a standalone project and open an issue in Avalonia repo.