Fix for QS crash on monitor wake, might reintroduce notifications turning into their own window though... we'll see

This commit is contained in:
Ly-sec 2025-08-07 17:03:29 +02:00
parent bf0e06ef03
commit bd4d28f02f

View file

@ -187,9 +187,12 @@ Scope {
function onScreensChanged() { function onScreensChanged() {
if (lockScreen.locked) { if (lockScreen.locked) {
pendingReload = true; pendingReload = true;
} else { } /*else {
reloadTimer.restart(); 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"
}
}
} }