Accepting request 816412 from KDE:Frameworks5

- Add patch to fix label appearance (kde#422684):
  * 0001-Port-applets-to-use-PlasmaExtras.PlaceholderMessage.patch

OBS-URL: https://build.opensuse.org/request/show/816412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plasma5-workspace?expand=0&rev=138
This commit is contained in:
Dominique Leuenberger 2020-06-23 19:01:57 +00:00 committed by Git OBS Bridge
commit 21285a9204
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,44 @@
From 6c58e330bd4693a1f826bf2ef6f6b4fc42328d7a Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Sun, 14 Jun 2020 09:08:21 -0600
Subject: [PATCH] Port applets to use PlasmaExtras.PlaceholderMessage
The Kirigami version uses QQC2 elements which don't respect the plasma
theme and color scheme, leading to thing slooking out of place
especially when using a dark color theme or scheme.
Depends on https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/13
---
applets/clipboard/contents/ui/Menu.qml | 2 +-
.../notifications/package/contents/ui/FullRepresentation.qml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applets/clipboard/contents/ui/Menu.qml b/applets/clipboard/contents/ui/Menu.qml
index 42fd6b61c..9ad21ca3a 100644
--- a/applets/clipboard/contents/ui/Menu.qml
+++ b/applets/clipboard/contents/ui/Menu.qml
@@ -55,7 +55,7 @@ PlasmaExtras.ScrollArea {
onAction: menu.action(uuid)
}
- Kirigami.PlaceholderMessage {
+ PlasmaExtras.PlaceholderMessage {
id: emptyHint
anchors.centerIn: parent
diff --git a/applets/notifications/package/contents/ui/FullRepresentation.qml b/applets/notifications/package/contents/ui/FullRepresentation.qml
index b34dee7af..989cb4341 100644
--- a/applets/notifications/package/contents/ui/FullRepresentation.qml
+++ b/applets/notifications/package/contents/ui/FullRepresentation.qml
@@ -585,7 +585,7 @@ PlasmaComponents3.Page {
}
}
- Kirigami.PlaceholderMessage {
+ PlasmaExtras.PlaceholderMessage {
anchors.centerIn: parent
width: parent.width - (units.largeSpacing * 4)
--
2.25.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 20 09:29:58 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to fix label appearance (kde#422684):
* 0001-Port-applets-to-use-PlasmaExtras.PlaceholderMessage.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 16 14:34:53 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de> Tue Jun 16 14:34:53 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -40,6 +40,8 @@ Source2: plasma.keyring
%endif %endif
Source3: baselibs.conf Source3: baselibs.conf
Source4: plasmafullwayland.desktop Source4: plasmafullwayland.desktop
# PATCH-FIX-UPSTREAM
Patch1: 0001-Port-applets-to-use-PlasmaExtras.PlaceholderMessage.patch
# PATCHES 501-??? are PATCH-FIX-OPENSUSE # PATCHES 501-??? are PATCH-FIX-OPENSUSE
Patch501: 0001-Use-qdbus-qt5.patch Patch501: 0001-Use-qdbus-qt5.patch
Patch502: 0001-Ignore-default-sddm-face-icons.patch Patch502: 0001-Ignore-default-sddm-face-icons.patch