commit plasma5-desktop for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-desktop for openSUSE:Factory checked in at 2017-07-02 13:36:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old) and /work/SRC/openSUSE:Factory/.plasma5-desktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "plasma5-desktop" Sun Jul 2 13:36:30 2017 rev:64 rq:507494 version:5.10.3 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes 2017-06-16 10:51:16.889076865 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-desktop.new/plasma5-desktop.changes 2017-07-02 13:36:32.208949309 +0200 @@ -1,0 +2,19 @@ +Sat Jul 1 08:57:33 UTC 2017 - wbauer@tmo.at + +- Add fix-writing-Qt4-font-settings.patch to fix syncing back the + configured general font to Qt4's config on login (kde#378262) + +------------------------------------------------------------------- +Tue Jun 27 17:50:43 CEST 2017 - fabian@ritter-vogt.de + +- Update to 5.10.3 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.10.3.php +- Changes since 5.10.2: + * Fix clicking outside of preview popups to dismiss them corrupting mouse state (kde#380982) + * Fix crashes with 'Drag me' in touchpad test area (kde#346900,kde#366113) + * Fix DND onto Task Manager for groups, group dialog scrollbar (kde#379888,kde#379037) + * Remove implicit use of QtQml in Qt 5.7 (kde#380240) + +------------------------------------------------------------------- Old: ---- plasma-desktop-5.10.2.tar.xz New: ---- fix-writing-Qt4-font-settings.patch plasma-desktop-5.10.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma5-desktop.spec ++++++ --- /var/tmp/diff_new_pack.3wbx8P/_old 2017-07-02 13:36:33.000837642 +0200 +++ /var/tmp/diff_new_pack.3wbx8P/_new 2017-07-02 13:36:33.008836514 +0200 @@ -20,7 +20,7 @@ %bcond_without lang Name: plasma5-desktop -Version: 5.10.2 +Version: 5.10.3 Release: 0 # Full Plasma 5 version (e.g. 5.9.3) %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}} @@ -35,6 +35,7 @@ Patch1: 0001-Use-themed-user-face-icon-in-kickoff.patch # PATCHES 100-200 and above are from upstream 5.10 branch # PATCHES 201-300 and above are from upstream master/5.11 branch +Patch201: fix-writing-Qt4-font-settings.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else @@ -178,6 +179,7 @@ %prep %setup -q -n plasma-desktop-%{version} %patch1 -p1 +%patch201 -p1 # Workaround for boo#1038368 sed -i"" "s/Name=Desktop/Name=Desktop Containment/g" containments/desktop/package/metadata.desktop ++++++ fix-writing-Qt4-font-settings.patch ++++++
From 978700d9b65b6118e93a87bc7fbe9c113ca7d2ab Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik <kde@privat.broulik.de> Date: Fri, 30 Jun 2017 14:16:47 +0200 Subject: [KRDB] Read kdeglobals font and fallback to hardcoded default if neccessary
kcminit is non-desktopSettingsAware (for performance) which will keep it from loading our platform theme. This also means that QFontDatabase also won't know our font settings. Based on a patch by jingyu9575, thanks. BUG: 378262 --- kcms/krdb/krdb.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/kcms/krdb/krdb.cpp b/kcms/krdb/krdb.cpp index 0d9f7a8..344287f 100644 --- a/kcms/krdb/krdb.cpp +++ b/kcms/krdb/krdb.cpp @@ -177,8 +177,19 @@ static void applyQtColors( KSharedConfigPtr kglobalcfg, QSettings& settings, QPa static void applyQtSettings( KSharedConfigPtr kglobalcfg, QSettings& settings ) { - /* export font settings */ - settings.setValue(QStringLiteral("/qt/font"), QFontDatabase::systemFont(QFontDatabase::GeneralFont).toString()); + /* export font settings */ + + // NOTE keep this in sync with kfontsettingsdata in plasma-integration (cf. also Bug 378262) + QFont defaultFont(QStringLiteral("Noto Sans"), 10, -1); + defaultFont.setStyleHint(QFont::SansSerif); + + const KConfigGroup configGroup(KSharedConfig::openConfig(), QStringLiteral("General")); + const QString fontInfo = configGroup.readEntry(QStringLiteral("font"), QString()); + if (!fontInfo.isEmpty()) { + defaultFont.fromString(fontInfo); + } + + settings.setValue(QStringLiteral("/qt/font"), defaultFont.toString()); /* export effects settings */ KConfigGroup kdeCfgGroup(kglobalcfg, "General"); -- cgit v0.11.2 ++++++ plasma-desktop-5.10.2.tar.xz -> plasma-desktop-5.10.3.tar.xz ++++++ ++++ 3964 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de