From 033bd5b43fbe94245c2966f71d946a3ba87ab843 Mon Sep 17 00:00:00 2001 From: Artur Kharin Date: Sun, 12 Oct 2025 11:41:18 +0300 Subject: [PATCH 1/3] Improves startup speed by not waiting for animation to finish. --- src/UniGetUI/App.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UniGetUI/App.xaml.cs b/src/UniGetUI/App.xaml.cs index 33540ce2b7..c5491b68c3 100644 --- a/src/UniGetUI/App.xaml.cs +++ b/src/UniGetUI/App.xaml.cs @@ -299,16 +299,16 @@ private async Task LoadComponentsAsync() // Create MainWindow InitializeMainWindow(); - await MainWindow.DoEntryTextAnimationAsync(); IEnumerable iniTasks = [ + Task.Run(PEInterface.LoadManagers), // Takes most of the time + MainWindow.DoEntryTextAnimationAsync(), Task.Run(SetUpWebViewUserDataFolder), Task.Run(IconDatabase.Instance.LoadFromCacheAsync), Task.Run(RegisterNotificationService), Task.Run(LoadGSudo), Task.Run(InitializeBackgroundAPI), - Task.Run(PEInterface.LoadManagers), ]; // Load essential components From fc496dfec35892cf498485fe01076e1d4d5ce757 Mon Sep 17 00:00:00 2001 From: Artur Kharin Date: Sun, 12 Oct 2025 11:42:57 +0300 Subject: [PATCH 2/3] Set LoadingIndicator to Collapsed by default. --- src/UniGetUI/MainWindow.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UniGetUI/MainWindow.xaml b/src/UniGetUI/MainWindow.xaml index df0d67531a..4c7d4b6484 100644 --- a/src/UniGetUI/MainWindow.xaml +++ b/src/UniGetUI/MainWindow.xaml @@ -188,7 +188,7 @@ VerticalAlignment="Bottom" Foreground="#08a9c3" IsIndeterminate="True" - Visibility="Visible" /> + Visibility="Collapsed" /> From 5c46cfb07631c075c569a43f7602d31431000355 Mon Sep 17 00:00:00 2001 From: Artur Kharin Date: Sun, 12 Oct 2025 18:03:21 +0300 Subject: [PATCH 3/3] Update call according to the review comment. --- src/UniGetUI/App.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UniGetUI/App.xaml.cs b/src/UniGetUI/App.xaml.cs index c5491b68c3..5b4631ddc0 100644 --- a/src/UniGetUI/App.xaml.cs +++ b/src/UniGetUI/App.xaml.cs @@ -300,10 +300,11 @@ private async Task LoadComponentsAsync() // Create MainWindow InitializeMainWindow(); + _ = MainWindow.DoEntryTextAnimationAsync(); + IEnumerable iniTasks = [ Task.Run(PEInterface.LoadManagers), // Takes most of the time - MainWindow.DoEntryTextAnimationAsync(), Task.Run(SetUpWebViewUserDataFolder), Task.Run(IconDatabase.Instance.LoadFromCacheAsync), Task.Run(RegisterNotificationService),