In the refactor we correctly made it so passwordless users were not prompted for passwords. This is in the right direction but the UX was still slightly off as it meant wiggling the mouse unlocked the screen, not an explicit action. This patch adds an explicit button that must be pressed if no other prompts were given during the authentication process. BUG: 440055wilder-5.25
parent
cdf64cb660
commit
dc6341bb30
2 changed files with 33 additions and 1 deletions
@ -0,0 +1,23 @@ |
||||
/* |
||||
SPDX-FileCopyrightText: 2022 David Edmundson <davidedmundson@kde.org> |
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later |
||||
*/ |
||||
import QtQuick 2.2 |
||||
|
||||
import org.kde.plasma.components 3.0 as PlasmaComponents3 |
||||
|
||||
import "../components" |
||||
|
||||
SessionManagementScreen { |
||||
focus: true |
||||
PlasmaComponents3.Button { |
||||
id: loginButton |
||||
focus: true |
||||
text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Unlock") |
||||
icon.name: LayoutMirroring.enabled ? "go-previous" : "go-next" |
||||
onClicked: Qt.quit(); |
||||
Keys.onEnterPressed: clicked() |
||||
Keys.onReturnPressed: clicked() |
||||
} |
||||
} |
||||
Loading…
Reference in new issue