From 3ce7d677a1abbc668bcb0a5f8734feea13b2ea5b Mon Sep 17 00:00:00 2001 From: Thomas Georgiadis Date: Mon, 14 Sep 2026 20:41:36 +1000 Subject: [PATCH] Release Quiver Launcher 3.4.1 --- MainView.axaml | 12 +- MainView.axaml.cs | 23 +- Models/GameInfo.cs | 40 +- .../QuiverLauncher.Android.csproj | 4 +- QuiverLauncher.App.csproj | 6 +- .../QuiverLauncher.Desktop.csproj | 6 +- QuiverLauncher.Tests/BackgroundImageTests.cs | 100 +++++ .../CatalogAddPerformanceTests.cs | 2 + .../CatalogPlatformIndexTests.cs | 4 +- .../CatalogPlatformSupportTests.cs | 2 +- .../CatalogSplitMigrationTests.cs | 208 ++++++++++ .../DesktopInterfaceScalingTests.cs | 20 +- QuiverLauncher.Tests/DesktopSidebarTests.cs | 92 +++++ .../DesktopWindowPlacementTests.cs | 275 +++++++++++++ .../FindExecutableCandidatesNeedsWineTests.cs | 100 ++++- .../FlatpakLaunchThreadTests.cs | 83 ++++ .../FlatpakLinuxIntegrationTests.cs | 79 ++++ QuiverLauncher.Tests/FlatpakTests.cs | 389 ++++++++++++++++++ .../IncompleteInstallationTests.cs | 172 ++++++++ .../InstalledUpdateCheckTests.cs | 58 ++- .../LinuxLauncherScriptTests.cs | 135 ++++++ README.md | 7 +- RELEASE_NOTES.md | 35 +- Services/AppSettings.cs | 4 + Services/CLIHandler.cs | 24 +- Services/CatalogCompareService.cs | 95 +++-- Services/CatalogReviewService.cs | 2 +- Services/DesktopHostController.cs | 12 +- Services/DesktopInterfaceScaling.cs | 2 +- Services/DesktopWindowPlacement.cs | 90 ++++ Services/DesktopWindowPlacementController.cs | 170 ++++++++ Services/FlatpakBundleReader.cs | 64 +++ Services/FlatpakService.cs | 249 +++++++++++ Services/GameDownloadInstallService.cs | 113 ++++- Services/GameLaunchService.cs | 50 ++- Services/GameShortcutLaunch.cs | 14 +- Services/GameStatusService.cs | 26 +- Services/InterfaceScale.cs | 4 +- Services/LibraryActions.cs | 22 + ViewModels/SettingsViewModel.cs | 17 + ViewModels/ShellViewModel.cs | 12 +- Views/DesktopHeaderLayout.cs | 3 +- Views/DesktopSidebarController.cs | 68 +++ Views/LibraryLaunchController.cs | 4 +- Views/LibraryView.axaml | 12 +- Views/LibraryView.axaml.cs | 16 +- Views/SettingsView.axaml | 2 + Views/ShellChromeNavigation.cs | 7 + Views/UpdateCheckStatusView.axaml | 15 +- Views/UpdateCheckStatusView.axaml.cs | 2 + docs/flatpak.md | 42 ++ .../Services/CatalogPlatformIndex.cs | 6 +- .../Services/DownloadAssetSelection.cs | 2 +- .../Services/GameInstallationService.cs | 64 ++- .../Services/GitHubApiCache.cs | 9 +- .../Services/GitHubReleaseService.cs | 3 +- .../Services/PlatformAssetMatcher.cs | 7 +- .../Services/PublishedPlatformMetadata.cs | 4 +- 58 files changed, 2931 insertions(+), 157 deletions(-) create mode 100644 QuiverLauncher.Tests/BackgroundImageTests.cs create mode 100644 QuiverLauncher.Tests/CatalogSplitMigrationTests.cs create mode 100644 QuiverLauncher.Tests/DesktopSidebarTests.cs create mode 100644 QuiverLauncher.Tests/DesktopWindowPlacementTests.cs create mode 100644 QuiverLauncher.Tests/FlatpakLaunchThreadTests.cs create mode 100644 QuiverLauncher.Tests/FlatpakLinuxIntegrationTests.cs create mode 100644 QuiverLauncher.Tests/FlatpakTests.cs create mode 100644 QuiverLauncher.Tests/IncompleteInstallationTests.cs create mode 100644 QuiverLauncher.Tests/LinuxLauncherScriptTests.cs create mode 100644 Services/DesktopWindowPlacement.cs create mode 100644 Services/DesktopWindowPlacementController.cs create mode 100644 Services/FlatpakBundleReader.cs create mode 100644 Services/FlatpakService.cs create mode 100644 Views/DesktopSidebarController.cs create mode 100644 docs/flatpak.md diff --git a/MainView.axaml b/MainView.axaml index ffdaa12a..22630ec0 100644 --- a/MainView.axaml +++ b/MainView.axaml @@ -231,6 +231,14 @@ + - + @@ -331,7 +331,7 @@ Click="OpenGitHubPage_Click" CommandParameter="{Binding}"/> - @@ -345,7 +345,7 @@ CornerRadius="0,0,12,12" ClipToBounds="True" IsVisible="{Binding IsDownloading}"> - - @@ -816,7 +816,7 @@ ClipToBounds="True" ZIndex="12" IsVisible="{Binding IsDownloading}"> - Model.Settings.Current; public LibraryViewModel Model { get; private set; } = null!; public LibraryNavigation Navigation { get; internal set; } = null!; + private Thickness _contentInsets; + private bool _updateStatusVisible; public event Action? NavigationRequested; private LibraryActions _actions = null!; @@ -39,6 +41,7 @@ public partial class LibraryView : UserControl public LibraryView() { InitializeComponent(); + _contentInsets = LibraryContentPanel.Margin; } public void Configure(LibraryViewModel model, LauncherSession session, LibraryLaunchController launch, Action openMenu) @@ -64,11 +67,22 @@ public partial class LibraryView : UserControl public void ApplyContentInsets(Thickness margin) { - LibraryContentPanel.Margin = margin; + _contentInsets = margin; + ApplyLibraryContentInsets(); EmptyLibraryPanel.Margin = new Thickness(16); LibrarySearchNoMatchesPanel.Margin = new Thickness(16); } + internal void SetUpdateStatusVisible(bool visible) + { + _updateStatusVisible = visible; + ApplyLibraryContentInsets(); + } + + private void ApplyLibraryContentInsets() => LibraryContentPanel.Margin = + new Thickness(_contentInsets.Left, _updateStatusVisible ? 0 : _contentInsets.Top, + _contentInsets.Right, _contentInsets.Bottom); + public void UpdateEmptyState(bool showLibrary) { var empty = showLibrary && Model.IsLibraryEmpty; diff --git a/Views/SettingsView.axaml b/Views/SettingsView.axaml index ed989e4d..fcbb5d65 100644 --- a/Views/SettingsView.axaml +++ b/Views/SettingsView.axaml @@ -401,6 +401,8 @@ HorizontalAlignment="Left" Focusable="True" AutomationProperties.Name="Interface scale" SelectedIndex="{Binding InterfaceScaleIndex, Mode=TwoWay}"> + + diff --git a/Views/ShellChromeNavigation.cs b/Views/ShellChromeNavigation.cs index d70f8e77..07b52ce3 100644 --- a/Views/ShellChromeNavigation.cs +++ b/Views/ShellChromeNavigation.cs @@ -319,6 +319,7 @@ public sealed class ShellChromeNavigation : IFeatureNavigationHandler internal List CollectSidebarFocusableControls() { var controls = new List(); + if (!SidebarPanel.IsEnabled) return controls; void Add(Control? control) { if (control != null && control.IsVisible && control.IsEnabled) @@ -344,6 +345,7 @@ public sealed class ShellChromeNavigation : IFeatureNavigationHandler controls.Add(control); } + if (!PlatformCapabilities.IsMobile) Add(_root.FindControl