Hello community,

here is the log from the commit of package plasma5-workspace for 
openSUSE:Factory checked in at 2018-04-30 22:52:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-workspace (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-workspace.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-workspace"

Mon Apr 30 22:52:10 2018 rev:91 rq:601512 version:5.12.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-workspace/plasma5-workspace.changes      
2018-04-19 15:20:22.197244341 +0200
+++ /work/SRC/openSUSE:Factory/.plasma5-workspace.new/plasma5-workspace.changes 
2018-04-30 22:52:12.207206451 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 07:07:44 UTC 2018 - [email protected]
+
+- Add patch to avoid listing all users over NIS:
+  * lazy-sddm-theme.patch
+
+-------------------------------------------------------------------

New:
----
  lazy-sddm-theme.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma5-workspace.spec ++++++
--- /var/tmp/diff_new_pack.1yzAgC/_old  2018-04-30 22:52:13.267167776 +0200
+++ /var/tmp/diff_new_pack.1yzAgC/_new  2018-04-30 22:52:13.271167630 +0200
@@ -50,8 +50,10 @@
 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

++++++ lazy-sddm-theme.patch ++++++
From: Fabian Vogt <[email protected]>
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

Reply via email to