Fix for QS crash on monitor wake, might reintroduce notifications turning into their own window though... we'll see
This commit is contained in:
parent
bf0e06ef03
commit
bd4d28f02f
1 changed files with 19 additions and 2 deletions
21
shell.qml
21
shell.qml
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue