11
0

- Add patch to fix focus on login screen (kde#414875)

* 0001-Revert-sddm-theme-Fix-initial-focus-after-SDDM-QQC2-.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=487
This commit is contained in:
2019-12-07 22:33:15 +00:00
committed by Git OBS Bridge
parent 6e2754c618
commit e7a7cda92b
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
From c2bc5243d460c306f995130880494eec6f54b18a Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Sat, 7 Dec 2019 15:17:11 -0700
Subject: [PATCH] Revert "[sddm-theme] Fix initial focus after SDDM QQC2 Port"
This reverts commit e7803ecc58272236a6dd491a9d05cf230202d88c.
This was supposed to be master-only. Sorry everyone!
BUG: 414875
FIXED-IN: 5.17.5
---
lookandfeel/contents/components/SessionManagementScreen.qml | 2 +-
lookandfeel/contents/lockscreen/LockScreenUi.qml | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/lookandfeel/contents/components/SessionManagementScreen.qml b/lookandfeel/contents/components/SessionManagementScreen.qml
index 823705e73..5f8826048 100644
--- a/lookandfeel/contents/components/SessionManagementScreen.qml
+++ b/lookandfeel/contents/components/SessionManagementScreen.qml
@@ -25,7 +25,7 @@ import QtQuick.Controls 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
-FocusScope {
+Item {
id: root
/*
diff --git a/lookandfeel/contents/lockscreen/LockScreenUi.qml b/lookandfeel/contents/lockscreen/LockScreenUi.qml
index 4e0f6a0c6..2d84596e2 100644
--- a/lookandfeel/contents/lockscreen/LockScreenUi.qml
+++ b/lookandfeel/contents/lockscreen/LockScreenUi.qml
@@ -222,7 +222,6 @@ PlasmaCore.ColorScope {
showUserList: userList.y + mainStack.y > 0
- focus: true // Drop this and hack below when porting this stackview to QQC2
Stack.onStatusChanged: {
// prepare for presenting again to the user
if (Stack.status == Stack.Activating) {
--
2.23.0

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 7 22:32:36 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to fix focus on login screen (kde#414875)
* 0001-Revert-sddm-theme-Fix-initial-focus-after-SDDM-QQC2-.patch
-------------------------------------------------------------------
Wed Dec 4 08:37:02 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@@ -40,6 +40,8 @@ Source2: plasma.keyring
%endif
Source3: baselibs.conf
Source4: plasmafullwayland.desktop
# PATCH-FIX-UPSTREAM
Patch1: 0001-Revert-sddm-theme-Fix-initial-focus-after-SDDM-QQC2-.patch
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
Patch501: 0001-Use-qdbus-qt5.patch
Patch502: 0001-Ignore-default-sddm-face-icons.patch