From e326de4c397d1d952a2fdcdaf450f43375b325a3 Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 16 Dec 2025 10:39:07 +0300 Subject: [PATCH] kirigami rebuild --- .../framework/kirigami/files/19127672.patch | 31 +++++++++++++++++++ desktop/kde/framework/kirigami/pspec.xml | 6 ++-- 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 desktop/kde/framework/kirigami/files/19127672.patch diff --git a/desktop/kde/framework/kirigami/files/19127672.patch b/desktop/kde/framework/kirigami/files/19127672.patch new file mode 100644 index 0000000000..6ca5fdc75c --- /dev/null +++ b/desktop/kde/framework/kirigami/files/19127672.patch @@ -0,0 +1,31 @@ +From 19127672cd812d177192cf84da4107f9abed2934 Mon Sep 17 00:00:00 2001 +From: Akseli Lahtinen +Date: Fri, 12 Dec 2025 13:18:48 +0200 +Subject: [PATCH] SwipeListItem: Add back checking for parent width and + implicitWidth + +This adds back implicitWidth that was removed and also sets the width of +the item to parent.width if there is a parent to be found. + +Without this, some applications relying on this behavior to happen +automatically would look broken, such as Discover settings. +--- + src/controls/SwipeListItem.qml | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/controls/SwipeListItem.qml b/src/controls/SwipeListItem.qml +index 441d80712..208b047bd 100644 +--- a/src/controls/SwipeListItem.qml ++++ b/src/controls/SwipeListItem.qml +@@ -191,6 +191,8 @@ QQC2.SwipeDelegate { + + hoverEnabled: true + implicitHeight: Math.max(actionsLayout.implicitHeight, contentItem.implicitHeight) + topPadding + bottomPadding ++ implicitWidth: Math.max(actionsLayout.implicitWidth, contentItem.implicitWidth) + leftPadding + rightPadding ++ width: parent ? parent.width : implicitWidth + + Keys.onTabPressed: (event) => { + if (actionsLayout.hasVisibleActions) { +-- +GitLab + diff --git a/desktop/kde/framework/kirigami/pspec.xml b/desktop/kde/framework/kirigami/pspec.xml index f7446118f2..1e0aed5f68 100755 --- a/desktop/kde/framework/kirigami/pspec.xml +++ b/desktop/kde/framework/kirigami/pspec.xml @@ -23,9 +23,7 @@ qt6-shadertools-devel - - - + 19127672.patch @@ -63,7 +61,7 @@ - + 2025-12-12 6.21.0 Version bump.