Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-05-13 15:54:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma5-pk-updates" Sun May 13 15:54:50 2018 rev:12 rq:605932 version:0.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-02-13 10:24:41.147292323 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-05-13 15:54:51.308683657 +0200 @@ -1,0 +2,6 @@ +Wed May 9 20:34:30 UTC 2018 - fab...@ritter-vogt.de + +- Add patch to fix tooltip text with security or important updates (boo#1090375): + * 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch + +------------------------------------------------------------------- New: ---- 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma5-pk-updates.spec ++++++ --- /var/tmp/diff_new_pack.nEF5Ia/_old 2018-05-13 15:54:51.968659573 +0200 +++ /var/tmp/diff_new_pack.nEF5Ia/_new 2018-05-13 15:54:51.972659427 +0200 @@ -37,6 +37,8 @@ Patch5: 0003-List-known-updates-on-startup.patch # PATCH-FIX-UPSTREAM Patch6: 0001-Close-the-plasmoid-after-updates-got-installed.patch +# PATCH-FIX-UPSTREAM +Patch7: 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++++++ 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch ++++++ >From 339e7d5b027c9907fbced789c50c75b249b23dd6 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Wed, 9 May 2018 22:32:17 +0200 Subject: [PATCH] Use \n instead of <br> for the extra part of the summary Summary: The tooltip text only supports plaintext, so it contained a literal "<br>". A "\n" works as a newline in both the expanded representation and the tooltip. Test Plan: Hovered over the icon with available security updates. Now the text includes a newline instead of a literal "<br>". Reviewers: lukas, jgrulich Subscribers: plasma-devel Differential Revision: https://phabricator.kde.org/D12790 --- src/declarative/pkupdates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 71b9847..f8fd0ac 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -131,7 +131,7 @@ QString PkUpdates::message() const if (extra.isEmpty()) return msg; else - return msg + "<br>" + i18n("(including %1)", extra.join(i18n(" and "))); + return msg + "\n" + i18n("(including %1)", extra.join(i18n(" and "))); } else if (!isNetworkOnline()) { return i18n("Your system is offline"); } else if (!m_lastCheckSuccessful) { -- 2.16.2