12
0

Accepting request 533431 from home:wolfi323:test

- Add fix-switch-user.patch to fix being unable to switch users
  from the Switch User screen

OBS-URL: https://build.opensuse.org/request/show/533431
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=356
This commit is contained in:
2017-10-11 18:00:20 +00:00
committed by Git OBS Bridge
parent 72eee4c35d
commit 457a325c66
3 changed files with 37 additions and 0 deletions

29
fix-switch-user.patch Normal file
View File

@@ -0,0 +1,29 @@
From ac40f7dec47df9c48fa55d90be67ea4cbebcb09d Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik <kde@privat.broulik.de>
Date: Wed, 11 Oct 2017 16:03:46 +0200
Subject: Revert "Remove pointless data copy in lockscreen delegate"
The switch user greeter accesses it to get the "vtNumber" when you click the "Switch" button.
CHANGELOG: Fixed being unable to switch users from the Switch User screen
This reverts commit cc8647481095f5631ef8136945ee5d2d06981fd6.
---
lookandfeel/contents/components/UserDelegate.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/lookandfeel/contents/components/UserDelegate.qml b/lookandfeel/contents/components/UserDelegate.qml
index b74e657..acd08e3 100644
--- a/lookandfeel/contents/components/UserDelegate.qml
+++ b/lookandfeel/contents/components/UserDelegate.qml
@@ -28,6 +28,7 @@ Item {
property bool isCurrent: true
+ readonly property var m: model
property string name
property string userName
property string avatarPath
--
cgit v0.11.2

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 11 14:35:10 UTC 2017 - wbauer@tmo.at
- Add fix-switch-user.patch to fix being unable to switch users
from the Switch User screen
-------------------------------------------------------------------
Thu Oct 5 12:39:18 CEST 2017 - fabian@ritter-vogt.de

View File

@@ -37,6 +37,7 @@ Patch0: 0001-Rename-qdbus-in-startkde.patch
# PATCH-FIX-OPENSUSE 0001-Ignore-default-sddm-face-icons.patch boo#1001364 fabian@ritter-vogt.de -- Ignore default sddm face icons
Patch1: 0001-Ignore-default-sddm-face-icons.patch
# PATCHES 100-200 and above are from upstream 5.11 branch
Patch100: fix-switch-user.patch
# PATCHES 201-300 and above are from upstream master/5.12 branch
BuildRequires: breeze5-icons
BuildRequires: fdupes
@@ -251,6 +252,7 @@ Plasma 5 session with Wayland from a display manager.
%setup -q -n plasma-workspace-%{version}
%patch0 -p1
%patch1 -p1
%patch100 -p1
%build
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}