From f63edc3e5505e6c64bc968c11742cb7877772b46 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Mon, 23 Mar 2026 11:47:07 +0100 Subject: [PATCH] fix: Hidden tab shows no games; BottomHintBar missing Layout.fillWidth - showHidden was hardcoded false; GameSortFilterModel uses it as 'show ONLY hidden' so Hidden tab always returned empty - filterSource also passed 'hidden' as a platform string, filtering everything out; now returns empty string for hidden - Add Layout.fillWidth to BottomHintBar in ConsoleGameDetail so it lays out correctly in ColumnLayout --- src/qml/ConsoleGameDetail.qml | 1 + src/qml/LibraryView.qml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/qml/ConsoleGameDetail.qml b/src/qml/ConsoleGameDetail.qml index 80d4164..02ef8c0 100644 --- a/src/qml/ConsoleGameDetail.qml +++ b/src/qml/ConsoleGameDetail.qml @@ -355,6 +355,7 @@ Item { Item { Layout.preferredHeight: 16 } BottomHintBar { + Layout.fillWidth: true uiMode: Config.Couch context: "details" } diff --git a/src/qml/LibraryView.qml b/src/qml/LibraryView.qml index 52e01d1..2eb0b4b 100644 --- a/src/qml/LibraryView.qml +++ b/src/qml/LibraryView.qml @@ -47,11 +47,12 @@ FocusScope { GameSortFilterModel { id: proxyModel sourceModel: App.gameModel - showHidden: false + showHidden: libraryRoot.filterSource === "hidden" favoritesOnly: libraryRoot.filterSource === "favorites" filterSource: { if (libraryRoot.filterSource === "all") return "" if (libraryRoot.filterSource === "favorites") return "" + if (libraryRoot.filterSource === "hidden") return "" return libraryRoot.filterSource } filterText: libraryRoot.filterText