Script 'mail_helper' called by obssrc
Hello community,

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

Package is "plasma5-workspace"

Mon Oct 18 22:03:30 2021 rev:176 rq:925411 version:5.23.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-workspace/plasma5-workspace.changes      
2021-10-13 18:06:04.883274106 +0200
+++ 
/work/SRC/openSUSE:Factory/.plasma5-workspace.new.1890/plasma5-workspace.changes
    2021-10-18 22:03:36.070154728 +0200
@@ -1,0 +2,6 @@
+Fri Oct 15 08:54:29 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to show password input on the "Other" page in SDDM (kde#443737):
+  * 0001-sddm-theme-fix-missing-password-field-on-Other-page.patch
+
+-------------------------------------------------------------------

New:
----
  0001-sddm-theme-fix-missing-password-field-on-Other-page.patch

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

Other differences:
------------------
++++++ plasma5-workspace.spec ++++++
--- /var/tmp/diff_new_pack.CsyFsH/_old  2021-10-18 22:03:36.698155183 +0200
+++ /var/tmp/diff_new_pack.CsyFsH/_new  2021-10-18 22:03:36.702155185 +0200
@@ -41,6 +41,8 @@
 Source1:        plasma-workspace-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-sddm-theme-fix-missing-password-field-on-Other-page.patch
 # PATCHES 501-??? are PATCH-FIX-OPENSUSE
 Patch501:       0001-Use-qdbus-qt5.patch
 Patch502:       0001-Ignore-default-sddm-face-icons.patch

++++++ 0001-sddm-theme-fix-missing-password-field-on-Other-page.patch ++++++
>From d5a3e749a30613294f41386180aaf31dfb1a9bee Mon Sep 17 00:00:00 2001
From: Nate Graham <n...@kde.org>
Date: Thu, 14 Oct 2021 15:44:33 -0600
Subject: [PATCH] sddm-theme: fix missing password field on "Other" page

On this page there is no concept of the user being passwordless because
no username has been specified by the user yet; we cannot know ahead of
time. As a result, userList.currentItem.needsPassword is blank so the
password field gets hidden.

We should just assume that in username/password entry mode, all users
have a password set. For any users where this is not the case, they can
just leave the password blank, and it's not any worse than it was in
Plasma 5.22.

BUG: 443737
FIXED-IN: 5.23.1


(cherry picked from commit f038ab3f494f26b443b10ff5dc9f156e1ec16341)
---
 sddm-theme/Login.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sddm-theme/Login.qml b/sddm-theme/Login.qml
index 8829666f1..6d3d62804 100644
--- a/sddm-theme/Login.qml
+++ b/sddm-theme/Login.qml
@@ -83,7 +83,7 @@ SessionManagementScreen {
                 }
             }
 
-            visible: userList.currentItem.needsPassword
+            visible: root.showUsernamePrompt || 
userList.currentItem.needsPassword
 
             Keys.onEscapePressed: {
                 mainStack.currentItem.forceActiveFocus();
@@ -119,7 +119,7 @@ SessionManagementScreen {
 
             icon.name: text.length == 0 ? "go-next" : ""
 
-            text: userList.currentItem.needsPassword ? "" : i18n("Log In")
+            text: root.showUsernamePrompt || 
userList.currentItem.needsPassword ? "" : i18n("Log In")
             onClicked: startLogin();
         }
     }
-- 
2.33.0

Reply via email to