From bd4d28f02f59a9d119daaf15ae2877dfa4997cc7 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Thu, 7 Aug 2025 17:03:29 +0200 Subject: [PATCH] Fix for QS crash on monitor wake, might reintroduce notifications turning into their own window though... we'll see --- shell.qml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/shell.qml b/shell.qml index 8f44ca3b..67617520 100644 --- a/shell.qml +++ b/shell.qml @@ -187,9 +187,12 @@ Scope { function onScreensChanged() { if (lockScreen.locked) { pendingReload = true; - } else { + } /*else { reloadTimer.restart(); - } + } */ + // ^commented out for now to fix QS crash on monitor wake. + // if it reintroduces the notification bug (https://github.com/Ly-sec/Noctalia/issues/32)... + // we need to find a different fix } } @@ -213,4 +216,18 @@ Scope { } } } + + Rectangle { + width: 200 * Theme.uiScale + height: 40 * Theme.uiScale + color: "#333" + anchors.top: parent.top + anchors.left: parent.left + Text { + text: "UI Scale Demo" + anchors.centerIn: parent + font.pixelSize: 16 * Theme.uiScale + color: "white" + } + } } \ No newline at end of file