<table><tr><td style="">antlarr created this revision.<br />antlarr added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2874" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Renamed userPrompt to userPromptComponent and add an id<br />
(userListComponent) to the initialItem Login component.</p>

<p>Disable user list when there are too many users in the system</p>

<p>In sddm 0.14, there's a userModel.disableAvatarsThreshold property<br />
that defines how many users are "too many" in the system so loading of<br />
avatars should be disabled. This commit honors that property, so if<br />
there are more than disableAvatarsThreshold users, then the user list<br />
is disabled and a prompt is shown to ask for a username and password.<br />
If the property is not available (for example, because sddm 0.13 is<br />
being used) then it works as usual.</p>

<p>This threshold is specially useful for large enterprises with NFS<br />
automounted home directories. In such environments, using sddm while<br />
avatars are enabled results in all remote home directories being<br />
mounted in the system before one user is able to log in. This has been<br />
reported to take hours in cases with thousands of users.</p>

<p>By default the threshold has a value of 7, but it can be modified<br />
in sddm.conf, under the Theme section, in the<br />
UsersThresholdToDisableAvatars variable.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.8</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2874" rel="noreferrer">https://phabricator.kde.org/D2874</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>lookandfeel/contents/components/SessionManagementScreen.qml<br />
sddm-theme/Login.qml<br />
sddm-theme/Main.qml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>antlarr, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>