Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2020-10-18 11:31:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Sun Oct 18 11:31:35 2020 rev:100 rq:842293 version:5.75.0 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2020-10-16 16:15:49.416719110 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new.3486/plasma-framework.changes 2020-10-18 11:31:39.332797204 +0200 @@ -1,0 +2,6 @@ +Sat Oct 17 11:50:09 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to avoid 100% CPU usage by plasmashell: + * 0001-Fix-BusyIndicator-rotating-even-when-invisible-again.patch + +------------------------------------------------------------------- New: ---- 0001-Fix-BusyIndicator-rotating-even-when-invisible-again.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.ocnNnn/_old 2020-10-18 11:31:40.164797655 +0200 +++ /var/tmp/diff_new_pack.ocnNnn/_new 2020-10-18 11:31:40.164797655 +0200 @@ -38,6 +38,8 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM Patch1: 0001-BusyIndicator-Do-not-rotate-when-invisible.patch +# https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/118 +Patch2: 0001-Fix-BusyIndicator-rotating-even-when-invisible-again.patch BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kf5-filesystem ++++++ 0001-Fix-BusyIndicator-rotating-even-when-invisible-again.patch ++++++ >From ee5b68b0ec78f552b129bc382bc2f9643ae29929 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Sat, 17 Oct 2020 13:45:15 +0200 Subject: [PATCH] Fix BusyIndicator rotating even when invisible, again After "BusyIndicator: Do not rotate when invisible", plasmashell started consuming 100% CPU due to plasma-nm's icon having an invisible BusyIndicator. Adding the "visible" property back into the equation avoids this. Third time's the charm? --- src/declarativeimports/plasmacomponents3/BusyIndicator.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml index ec4ccaf13..6321d88cf 100644 --- a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml +++ b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml @@ -62,7 +62,7 @@ T.BusyIndicator { to: 360 duration: 2000 loops: Animation.Infinite - running: control.running || baseItem.opacity > 0 + running: visible && (control.running || baseItem.opacity > 0) } } } -- 2.25.1