From 37fa852960c8c094787e662c942a68bc7e3a65ae Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Sun, 31 May 2026 16:33:12 +0200 Subject: [PATCH] Fix notification drawer text contrast Force the notifications widget to use the Window color set instead of inheriting parent theme roles, preventing unreadable light-on-light content in the action drawer. --- .../mobileshell/qml/actiondrawer/private/NotificationDrawer.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml b/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml index 72262d3f..6b5ecb9c 100644 --- a/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml +++ b/components/mobileshell/qml/actiondrawer/private/NotificationDrawer.qml @@ -71,6 +71,8 @@ Item { MobileShell.NotificationsWidget { id: notificationWidget readonly property bool isConvergence: ShellSettings.Settings.convergenceModeEnabled + Kirigami.Theme.inherit: false + Kirigami.Theme.colorSet: Kirigami.Theme.Window anchors.fill: parent anchors.topMargin: root.topMargin + (isConvergence ? Kirigami.Units.gridUnit : 0) anchors.rightMargin: actionDrawer.mode == MobileShell.ActionDrawer.Portrait ? 0 : (isConvergence ? Kirigami.Units.gridUnit : Math.max(root.width - Kirigami.Units.gridUnit * 25, 0))