C# 在Uno 2.4&;上的页面导航后,ProgressRing停止动画制作;瓦斯姆
WinUI ProgressRing被卡住,在页面导航后不会再次转到后台。它看起来是一个冻结的进程环:)进程环在UWP上看起来不错,真正的问题似乎在WASM上。我安装了Lottie软件包,但它不是真正的解决方案。没有页面导航,WASM上的Progressing运行得非常完美 我用它来延迟操作并显示progressRing,以表明应用程序正在后台工作:C# 在Uno 2.4&;上的页面导航后,ProgressRing停止动画制作;瓦斯姆,c#,uwp,cross-platform,uno-platform,winui,C#,Uwp,Cross Platform,Uno Platform,Winui,WinUI ProgressRing被卡住,在页面导航后不会再次转到后台。它看起来是一个冻结的进程环:)进程环在UWP上看起来不错,真正的问题似乎在WASM上。我安装了Lottie软件包,但它不是真正的解决方案。没有页面导航,WASM上的Progressing运行得非常完美 我用它来延迟操作并显示progressRing,以表明应用程序正在后台工作: await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => /
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => // Working in different thread.
{
WaiterGrid.Visibility = Visibility.Visible; // Show waiter.
});
try
{
await Task.Delay(1000);
// Operations here.
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
MessageDialog warn_box = new MessageDialog("X. Lütfen yeniden deneyin.", "Hata");
await warn_box.ShowAsync();
}
await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => // Working in different thread.
{
WaiterGrid.Visibility = Visibility.Collapsed; // Show waiter.
});
它会引起问题吗
套餐:
Uno.UI.RemoteControl{2.4.0}Newtonsoft.Json{12.0.3}
Uno.UI.Lottie{2.4.0}
Uno.Wasm.Bootstrap{1.2.0}
Uno.Wasm.Bootstrap.DevServer{1.2.0}
ACM_Search_AdminApps.Shared{1.1.0}
Microsoft.Extensions.Logging.Filter{1.1.2}
Microsoft.Extensions.Logging.Con。。。{1.1.1}
NETStandard.Library{2.0.3}
Uno.UI{2.4.0}
ACM_Search_AdminApps.Shared{1.1.0}
Microsoft.NETCore.UniversalWindo。。。{6.2.10}
Microsoft.Extensions.Logging.Con。。。{1.1.1}
Microsoft.Extensions.Logging.Filter{1.1.2}
Microsoft.Toolkit.Uwp.UI.Lottie{6.0.0}
Microsoft.UI.Xaml{2.4.2}
Newtonsoft.Json{12.0.3}
Uno.Core{2.0.0} 超宽带 瓦斯姆
这实际上是
Uno.UI.Lottie
中的一个bug。我只是想修复这个错误
更新:PR已合并,修复程序将在中提供。在github上打开的问题: