1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-08 06:28:27 -04:00

lock: synchronize password inputs between displays and fix video

screensave/password focus
fixes #1933
This commit is contained in:
bbedward
2026-07-04 11:28:45 -04:00
parent 7e095415a7
commit 9911698237
3 changed files with 299 additions and 285 deletions
+2 -5
View File
@@ -40,11 +40,7 @@ FocusScope {
focus: !videoScreensaver.active
opacity: videoScreensaver.active ? 0 : 1
onUnlockRequested: root.unlockRequested()
onPasswordBufferChanged: {
if (root.sharedPasswordBuffer !== passwordBuffer) {
root.passwordChanged(passwordBuffer);
}
}
onPasswordEdited: text => root.passwordChanged(text)
Behavior on opacity {
NumberAnimation {
@@ -57,6 +53,7 @@ FocusScope {
id: videoScreensaver
anchors.fill: parent
screenName: root.screenName
onDismissed: Qt.callLater(() => lockContent.focusPasswordField())
}
Component.onCompleted: forceActiveFocus()