Hello community,
here is the log from the commit of package plasma5-workspace for
openSUSE:Factory checked in at 2020-09-18 14:44:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-workspace (Old)
and /work/SRC/openSUSE:Factory/.plasma5-workspace.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma5-workspace"
Fri Sep 18 14:44:12 2020 rev:145 rq:835003 version:5.19.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-workspace/plasma5-workspace.changes
2020-09-09 17:45:09.442339582 +0200
+++
/work/SRC/openSUSE:Factory/.plasma5-workspace.new.4249/plasma5-workspace.changes
2020-09-18 14:44:47.608188297 +0200
@@ -1,0 +2,6 @@
+Wed Sep 16 20:18:17 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Add patch to fix login button appearance with KF 5.74:
+ * 0001-sddm-theme-lockscreen-Fix-login-button-size.patch
+
+-------------------------------------------------------------------
New:
----
0001-sddm-theme-lockscreen-Fix-login-button-size.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ plasma5-workspace.spec ++++++
--- /var/tmp/diff_new_pack.DaUPoW/_old 2020-09-18 14:44:48.260188957 +0200
+++ /var/tmp/diff_new_pack.DaUPoW/_new 2020-09-18 14:44:48.264188961 +0200
@@ -50,6 +50,7 @@
Patch506: 0001-Revert-No-icons-on-the-desktop-by-default.patch
# PATCH-FIX-UPSTREAM
Patch510: 0001-ksmserver-Use-UpdateLaunchEnvJob-to-sync-SESSION_MAN.patch
+Patch511: 0001-sddm-theme-lockscreen-Fix-login-button-size.patch
BuildRequires: breeze5-icons
BuildRequires: fdupes
BuildRequires: kf5-filesystem
++++++ 0001-sddm-theme-lockscreen-Fix-login-button-size.patch ++++++
>From 2f9129410401c2d734aff1602b37be70cebbb74b Mon Sep 17 00:00:00 2001
From: Noah Davis <[email protected]>
Date: Mon, 14 Sep 2020 10:18:57 -0400
Subject: [PATCH] [sddm-theme/lockscreen] Fix login button size
Some users reported this button becoming too small after KF5.74 was released,
but I could not reproduce it myself. However, this code did look suspicious.
Hopefully this fixes the issue.
(cherry picked from commit 9a8fc811282e303ec2f93c978228a85961dae263)
---
lookandfeel/contents/lockscreen/MainBlock.qml | 3 ++-
sddm-theme/Login.qml | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lookandfeel/contents/lockscreen/MainBlock.qml
b/lookandfeel/contents/lockscreen/MainBlock.qml
index 4bd5df0e5..70b43d959 100644
--- a/lookandfeel/contents/lockscreen/MainBlock.qml
+++ b/lookandfeel/contents/lockscreen/MainBlock.qml
@@ -97,7 +97,8 @@ SessionManagementScreen {
PlasmaComponents.Button {
id: loginButton
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel",
"Unlock")
- implicitHeight: passwordBox.height - units.smallSpacing * 0.5 //
otherwise it comes out taller than the password field
+ Layout.preferredHeight: passwordBox.implicitHeight
+ Layout.preferredWidth: loginButton.Layout.preferredHeight
PlasmaCore.IconItem { // no iconSource because if you take away
half a unit (implicitHeight), "go-next" gets cut off
anchors.fill: parent
diff --git a/sddm-theme/Login.qml b/sddm-theme/Login.qml
index 49d6805d8..3daaebf57 100644
--- a/sddm-theme/Login.qml
+++ b/sddm-theme/Login.qml
@@ -112,8 +112,8 @@ SessionManagementScreen {
PlasmaComponents.Button {
id: loginButton
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel",
"Log In")
- implicitHeight: passwordBox.height - units.smallSpacing * 0.5 //
otherwise it comes out taller than the password field
- Layout.rightMargin: 1 // prevents it from extending beyond the
username field
+ Layout.preferredHeight: passwordBox.implicitHeight
+ Layout.preferredWidth: loginButton.Layout.preferredHeight
PlasmaCore.IconItem { // no iconSource because if you take away
half a unit (implicitHeight), "go-next" gets cut off
anchors.fill: parent
--
2.25.1