Commit 0565c8e6 authored by Fabian Vogt's avatar Fabian Vogt
Browse files

sddm-theme: Set needsFullUserModel=false

Summary:
Otherwise SDDM has to load all users even if they're not shown.
See https://github.com/sddm/sddm/pull/1017

Test Plan: Using this for several releases downstream to support >1500 users.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: ngraham, davidedmundson, filipf, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24333
parent f003ffef
......@@ -182,6 +182,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
}
......
......@@ -3,3 +3,4 @@ type=image
color=#1d99f3
fontSize=10
background=${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR}/Next/contents/images/5120x2880.png
needsFullUserModel=false
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