[graphics/koko/release/26.08] src/qml/gallery: GalleryPage: Keep filter/search actions visible at reduced width

Oliver Beard <[email protected]> Tue, 4 Aug 2026 13:30:43 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 091fc2faffcf42251fdb32a6a7f843ab6891f903 by Oliver Beard.
Committed on 04/08/2026 at 13:25.
Pushed by olib into branch 'release/26.08'.

GalleryPage: Keep filter/search actions visible at reduced width

Allow the actions to collapse to icon-only before moving into the menu.

M  +3    -0    src/qml/gallery/GalleryPage.qml

https://invent.kde.org/graphics/koko/-/commit/091fc2faffcf42251fdb32a6a7f843ab6891f903

diff --git a/src/qml/gallery/GalleryPage.qml b/src/qml/gallery/GalleryPage.qml
index ca4e6eb3..28c8e659 100644
--- a/src/qml/gallery/GalleryPage.qml
+++ b/src/qml/gallery/GalleryPage.qml
@@ -158,6 +158,7 @@ Kirigami.ScrollablePage {
         Kirigami.Action {
             text: i18nc("@action:button %1 is the selected sort order, e.g. Name", "Sort: %1", sortGroup.checkedAction.text)
             icon.name: "view-sort-symbolic"
+            displayHint: Kirigami.DisplayHint.KeepVisible
 
             Kirigami.Action {
                 Controls.ActionGroup.group: sortGroup
@@ -250,6 +251,8 @@ Kirigami.ScrollablePage {
                 width: Kirigami.Units.gridUnit * 10
                 onAccepted: gallerySortFilterProxyModel.filterString = text
             }
+            icon.name: "search-symbolic"
+            displayHint: Kirigami.DisplayHint.KeepVisible
         },
 
         // Bookmark