Open Mrcubix opened 4 months ago
Currently having an issue where the crossfade transition get skipped, showing the next content instantly on arm 64 bits, more specifically on my Raspberry Pi 4.
The TransitioningContentControl used is as follow:
<TransitioningContentControl Content="{Binding NextViewModel}"> <TransitioningContentControl.PageTransition> <CrossFade Duration="00:00:01" /> </TransitioningContentControl.PageTransition> <TransitioningContentControl.DataTemplates> <DataTemplate DataType="vm:MainViewModel"> <views:MainView /> </DataTemplate> <DataTemplate DataType="vm:OtherViewModel"> <views:OtherView /> </DataTemplate> </TransitioningContentControl.DataTemplates> </TransitioningContentControl >
A 1 second fade, from one view to another occur.
11.0.10
Linux
The behavior works as expected on windows x64.
Raspberry Pi (arm64) (X11):
https://github.com/AvaloniaUI/Avalonia/assets/39861216/7e6f4a99-841c-4e7f-924c-5d54b12f6631
Windows 10 (x64):
https://github.com/AvaloniaUI/Avalonia/assets/39861216/133f1d75-9aaa-4dac-b156-207ca5a84e76
@kekekeks I suppose there are differences in dispatcher implementation here playing a role.
Describe the bug
Currently having an issue where the crossfade transition get skipped, showing the next content instantly on arm 64 bits, more specifically on my Raspberry Pi 4.
To Reproduce
The TransitioningContentControl used is as follow:
Expected behavior
A 1 second fade, from one view to another occur.
Avalonia version
11.0.10
OS
Linux
Additional context
The behavior works as expected on windows x64.
Raspberry Pi (arm64) (X11):
https://github.com/AvaloniaUI/Avalonia/assets/39861216/7e6f4a99-841c-4e7f-924c-5d54b12f6631
Windows 10 (x64):
https://github.com/AvaloniaUI/Avalonia/assets/39861216/133f1d75-9aaa-4dac-b156-207ca5a84e76