[PATCH] shell/Osd: Fix missing RTL PlasmaCore.Dialog does not set LayoutMirroring...
authorOliver Beard <olib141@outlook.com>
Fri, 9 May 2025 14:38:00 +0000 (15:38 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 21 Jul 2025 16:21:10 +0000 (18:21 +0200)
BUG: 503255

Gbp-Pq: Name upstream_8845c001_shell-Osd-Fix-missing-RTL.patch

lookandfeel/org.kde.breeze/contents/osd/Osd.qml

index c498f997c8bbfbcdd8ce372b15921e0cf4520790..09aafdd0a4df61ce7cf581f7ca25c46d10a80268 100644 (file)
@@ -12,6 +12,9 @@ PlasmaCore.Dialog {
     type: PlasmaCore.Dialog.OnScreenDisplay
     outputOnly: true
 
+    LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
+    LayoutMirroring.childrenInherit: true
+
     property alias timeout: osd.timeout
     property alias osdValue: osd.osdValue
     property alias osdMaxValue: osd.osdMaxValue