Commit e9c72a04 authored by Björn Feber's avatar Björn Feber

Add SDDM theme login load feedback

Summary:
Currently, when you log in you can see a short freeze which looks bad. This patch adds some feedback by disabling and reducing the opacity of the controls after you begin the login (a busy cursor wouldn't work well, because it only changes when you move the mouse).
{F6800357}

Test Plan: Log in to a user.

Reviewers: #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20902
parent e39aed6f
......@@ -37,6 +37,10 @@ SessionManagementScreen {
var username = showUsernamePrompt ? userNameInput.text : userList.selectedUser
var password = passwordBox.text
footer.enabled = false
mainStack.enabled = false
userListComponent.userList.opacity = 0.5
//this is partly because it looks nicer
//but more importantly it works round a Qt bug that can trigger if the app is closed with a TextField focused
//DAVE REPORT THE FRICKING THING AND PUT A LINK
......
......@@ -444,6 +444,9 @@ PlasmaCore.ColorScope {
target: sddm
onLoginFailed: {
notificationMessage = i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Login Failed")
footer.enabled = true
mainStack.enabled = true
userListComponent.userList.opacity = 1
}
onLoginSucceeded: {
//note SDDM will kill the greeter at some random point after this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment