[Differential] [Request, 10 lines] D2874: Renamed userPrompt to userPromptComponent and add userListComponent id

antlarr (Antonio Larrosa Jimenez) noreply at phabricator.kde.org
Tue Sep 27 15:58:47 UTC 2016


antlarr created this revision.
antlarr added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Renamed userPrompt to userPromptComponent and add an id
  (userListComponent) to the initialItem Login component.
  
  Disable user list when there are too many users in the system
  
  In sddm 0.14, there's a userModel.disableAvatarsThreshold property
  that defines how many users are "too many" in the system so loading of
  avatars should be disabled. This commit honors that property, so if
  there are more than disableAvatarsThreshold users, then the user list
  is disabled and a prompt is shown to ask for a username and password.
  If the property is not available (for example, because sddm 0.13 is
  being used) then it works as usual.
  
  This threshold is specially useful for large enterprises with NFS
  automounted home directories. In such environments, using sddm while
  avatars are enabled results in all remote home directories being
  mounted in the system before one user is able to log in. This has been
  reported to take hours in cases with thousands of users.
  
  By default the threshold has a value of 7, but it can be modified
  in sddm.conf, under the Theme section, in the
  UsersThresholdToDisableAvatars variable.

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

BRANCH
  Plasma/5.8

REVISION DETAIL
  https://phabricator.kde.org/D2874

AFFECTED FILES
  lookandfeel/contents/components/SessionManagementScreen.qml
  sddm-theme/Login.qml
  sddm-theme/Main.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: antlarr, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160927/a6a17ef2/attachment.html>


More information about the Plasma-devel mailing list