This commit is contained in:
parent
18bc675c2c
commit
48164a1341
28
lazy-sddm-theme.patch
Normal file
28
lazy-sddm-theme.patch
Normal file
@ -0,0 +1,28 @@
|
||||
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
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 23 07:07:44 UTC 2018 - fabian@ritter-vogt.de
|
||||
|
||||
- Add patch to avoid listing all users over NIS:
|
||||
* lazy-sddm-theme.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 17 08:19:26 UTC 2018 - fabian@ritter-vogt.de
|
||||
|
||||
|
@ -50,8 +50,10 @@ Patch502: 0001-Ignore-default-sddm-face-icons.patch
|
||||
Patch503: 0001-Set-GTK_BACKEND-x11-in-a-wayland-session.patch
|
||||
# PATCH-FIX-UPSTREAM (once sddm part merged)
|
||||
Patch504: 0001-Add-suffix-to-the-wayland-session-s-name.patch
|
||||
# PATCH-FIX-UPSTRAM (or alternative solution)
|
||||
# PATCH-FIX-UPSTREAM (or alternative solution)
|
||||
Patch505: 0001-Set-XDG_SESSION_TYPE-wayland-in-startplasmacomposito.patch
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch506: lazy-sddm-theme.patch
|
||||
BuildRequires: breeze5-icons
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf5-filesystem
|
||||
|
Loading…
x
Reference in New Issue
Block a user