Hello community,

here is the log from the commit of package plasma5-desktop for openSUSE:Factory 
checked in at 2018-08-03 12:34:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-desktop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-desktop"

Fri Aug  3 12:34:01 2018 rev:89 rq:626844 version:5.13.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes  
2018-07-14 20:19:45.699343603 +0200
+++ /work/SRC/openSUSE:Factory/.plasma5-desktop.new/plasma5-desktop.changes     
2018-08-03 12:34:07.367286989 +0200
@@ -1,0 +2,21 @@
+Tue Jul 31 13:24:21 UTC 2018 - [email protected]
+
+- Add fontinst-quits-after-KJob-is-done.patch to fix problems when
+  installing/removing multiple fonts system-wide at once
+  (kde#379524, kde#379324, kde#349673, kde#361960, kde#392267)
+
+-------------------------------------------------------------------
+Tue Jul 31 15:18:33 CEST 2018 - [email protected]
+
+- Update to 5.13.4
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/plasma-5.13.4.php
+- Changes since 5.13.3:
+  * Don't unintentionally change font rendering when rendering preview images
+  * [Folder View] Improve file name text rendering
+  * Give file and folder names a bit more room in Folder View
+  * Honor ghns KIOSK restriction in new KCMs
+  * [Kicker] Use KFilePlaces::convertedUrl for ComputerModel (kde#363337)
+
+-------------------------------------------------------------------

Old:
----
  plasma-desktop-5.13.3.tar.xz

New:
----
  fontinst-quits-after-KJob-is-done.patch
  plasma-desktop-5.13.4.tar.xz

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

Other differences:
------------------
++++++ plasma5-desktop.spec ++++++
--- /var/tmp/diff_new_pack.QLGbQt/_old  2018-08-03 12:34:08.423288551 +0200
+++ /var/tmp/diff_new_pack.QLGbQt/_new  2018-08-03 12:34:08.423288551 +0200
@@ -20,7 +20,7 @@
 
 %bcond_without lang
 Name:           plasma5-desktop
-Version:        5.13.3
+Version:        5.13.4
 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.13 branch
 # PATCHES 201-300 and above are from upstream master/5.14 branch
+Patch201:       fontinst-quits-after-KJob-is-done.patch
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else

++++++ fontinst-quits-after-KJob-is-done.patch ++++++
>From 60c895758f20bd2cb17ab12e57cf34cc37197098 Mon Sep 17 00:00:00 2001
From: Mathias Tillman <[email protected]>
Date: Tue, 31 Jul 2018 12:34:29 +0200
Subject: fontinst quits after KJob is done

Summary:
As the summary says, when installing/removing multiple fonts to system the 
expected behaviour would be for fontinst to keep running after the first font 
has been installed or removed, instead it quits which causes a bunch of issues. 
fontinst uses KJob to authorize and internally KJob uses a QEventLoopLocker 
which causes the main event loop to quit when it's done.
I'm not entirely sure why the event loop locker is enabled by default for KJob, 
but the patch I have attached works around this by completely disabling that 
functionality for fontinst. There's a timer that runs in the background which 
checks for any connected clients, so it will quit after a little while 
regardless.

BUG: 379524
BUG: 379324
BUG: 349673
BUG: 361960
BUG: 392267

Test Plan: Make sure fonts are still installed and removed properly.

Reviewers: #plasma, dfaure, aacid, gateau

Reviewed By: dfaure

Subscribers: wbauer, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14493
---
 kcms/kfontinst/dbus/Main.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kcms/kfontinst/dbus/Main.cpp b/kcms/kfontinst/dbus/Main.cpp
index 3fc3cf9..5d2432a 100644
--- a/kcms/kfontinst/dbus/Main.cpp
+++ b/kcms/kfontinst/dbus/Main.cpp
@@ -27,6 +27,10 @@
 
 int main(int argc, char *argv[])
 {
+    // KJob uses a QEventLoopLocker which causes kfontinst to quit
+    // after the job is done, prevent this by disabling quit lock.
+    QCoreApplication::setQuitLockEnabled(false);
+
     QCoreApplication *app=new QCoreApplication(argc, argv);
     KFI::FontInst    fi;
 
-- 
cgit v0.11.2

++++++ plasma-desktop-5.13.3.tar.xz -> plasma-desktop-5.13.4.tar.xz ++++++
/work/SRC/openSUSE:Factory/plasma5-desktop/plasma-desktop-5.13.3.tar.xz 
/work/SRC/openSUSE:Factory/.plasma5-desktop.new/plasma-desktop-5.13.4.tar.xz 
differ: char 25, line 1


Reply via email to