29 lines
935 B
Diff
29 lines
935 B
Diff
From: Fabian Vogt <fabian@ritter-vogt.de>
|
|
Subject: sddm-theme: Set needsFullUserModel=false
|
|
|
|
Otherwise SDDM has to load all users even if they're not shown.
|
|
See https://github.com/sddm/sddm/pull/1017
|
|
|
|
diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml
|
|
index 71fcd44d..e951aa2f 100644
|
|
--- a/sddm-theme/Main.qml
|
|
+++ b/sddm-theme/Main.qml
|
|
@@ -97,6 +97,8 @@ PlasmaCore.ColorScope {
|
|
|
|
if ( userListModel.count == 0 ) return false
|
|
|
|
+ if ( userListModel.hasOwnProperty("containsAllUsers") && !userListModel.containsAllUsers) return false
|
|
+
|
|
return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0
|
|
}
|
|
|
|
diff --git a/sddm-theme/theme.conf b/sddm-theme/theme.conf
|
|
index c293b25b..54d7f1b2 100644
|
|
--- a/sddm-theme/theme.conf
|
|
+++ b/sddm-theme/theme.conf
|
|
@@ -2,3 +2,4 @@
|
|
type=color
|
|
color=#1d99f3
|
|
background=
|
|
+needsFullUserModel=false
|