Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdeconnect-kde for openSUSE:Factory 
checked in at 2021-02-07 15:16:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeconnect-kde (Old)
 and      /work/SRC/openSUSE:Factory/.kdeconnect-kde.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdeconnect-kde"

Sun Feb  7 15:16:23 2021 rev:32 rq:869491 version:20.12.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeconnect-kde/kdeconnect-kde.changes    
2021-01-08 17:35:48.356867790 +0100
+++ /work/SRC/openSUSE:Factory/.kdeconnect-kde.new.28504/kdeconnect-kde.changes 
2021-02-07 15:17:28.669613485 +0100
@@ -1,0 +2,14 @@
+Wed Feb  3 08:28:23 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 20.12.2
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/releases/2021-02-apps-update
+- Changes since 20.12.1:
+  * Fix notifications in the KDE Connect plasmoid (kde#432337)
+  * UseHighDpiPixmaps in kdeconnectd and kdeconnect-indicator
+  * Remove OnlyShowIn from daemon desktop file
+- Add upstream patch:
+  * 0001-Don-t-escape-notification-title-text.patch
+
+-------------------------------------------------------------------

Old:
----
  kdeconnect-kde-20.12.1.tar.xz
  kdeconnect-kde-20.12.1.tar.xz.sig

New:
----
  0001-Don-t-escape-notification-title-text.patch
  applications.keyring
  kdeconnect-kde-20.12.2.tar.xz
  kdeconnect-kde-20.12.2.tar.xz.sig

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

Other differences:
------------------
++++++ kdeconnect-kde.spec ++++++
--- /var/tmp/diff_new_pack.cTCxTq/_old  2021-02-07 15:17:29.701615205 +0100
+++ /var/tmp/diff_new_pack.cTCxTq/_new  2021-02-07 15:17:29.705615212 +0100
@@ -20,7 +20,7 @@
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Name:           kdeconnect-kde
-Version:        20.12.1
+Version:        20.12.2
 Release:        0
 Summary:        Integration of Android with Linux desktops
 License:        GPL-2.0-or-later
@@ -29,9 +29,12 @@
 Source:         
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
 %if %{with lang}
 Source1:        
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
+Source2:        applications.keyring
 %endif
 Source100:      kdeconnect-kde.SuSEfirewall
 Source101:      kdeconnect-kde-firewalld.xml
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Don-t-escape-notification-title-text.patch
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kf5-filesystem

++++++ 0001-Don-t-escape-notification-title-text.patch ++++++
>From 893ede696038ce52f0c9ada3999b0d40bbe04692 Mon Sep 17 00:00:00 2001
From: Bharadwaj Raju <bharadwaj.raju...@protonmail.com>
Date: Tue, 2 Feb 2021 12:54:16 +0000
Subject: [PATCH] Don't escape notification title text

Notifications don't support markup in title text, so escaping it causes
unintended HTML entities like &amp; to show up instead of the actual
text.


(cherry picked from commit 26a8ca7fe98ab77079f836a7fed9e888c8d046a6)
---
 plugins/notifications/notification.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/notifications/notification.cpp 
b/plugins/notifications/notification.cpp
index e5206b9e..0baf0001 100644
--- a/plugins/notifications/notification.cpp
+++ b/plugins/notifications/notification.cpp
@@ -88,15 +88,16 @@ void Notification::createKNotification(const NetworkPacket& 
np)
     }
 
     QString escapedTitle = m_title.toHtmlEscaped();
+    // notification title text does not have markup, but in some cases below 
it is used in body text so we escape it
     QString escapedText = m_text.toHtmlEscaped();
     QString escapedTicker = m_ticker.toHtmlEscaped();
 
     if 
(NotificationServerInfo::instance().supportedHints().testFlag(NotificationServerInfo::X_KDE_DISPLAY_APPNAME))
 {
-        m_notification->setTitle(escapedTitle);
+        m_notification->setTitle(m_title);
         m_notification->setText(escapedText);
         m_notification->setHint(QStringLiteral("x-kde-display-appname"), 
m_appName.toHtmlEscaped());
     } else {
-        m_notification->setTitle(m_appName.toHtmlEscaped());
+        m_notification->setTitle(m_appName);
 
         if (m_title.isEmpty() && m_text.isEmpty()) {
             m_notification->setText(escapedTicker);
-- 
2.30.0

++++++ kdeconnect-kde-20.12.1.tar.xz -> kdeconnect-kde-20.12.2.tar.xz ++++++
++++ 4159 lines of diff (skipped)

Reply via email to