Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2019-05-17 23:40:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Fri May 17 23:40:19 2019 rev:161 rq:703157 version:3.32.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2019-05-03 
22:17:57.808169277 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new.5148/gnome-shell.changes        
2019-05-17 23:40:20.658005717 +0200
@@ -1,0 +2,7 @@
+Tue May 14 09:05:41 UTC 2019 - Yifan Jiang <[email protected]>
+
+- Add gnome-shell-do-not-chain-up-to-parent-allocate.patch: Don't
+  chain up to parent's allocate, resolving Topicon Plus extension
+  high cpu consumption (glgo#GNOME/gnome-shell#1054).
+
+-------------------------------------------------------------------

New:
----
  gnome-shell-do-not-chain-up-to-parent-allocate.patch

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

Other differences:
------------------
++++++ gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.nfJw0Y/_old  2019-05-17 23:40:21.542005231 +0200
+++ /var/tmp/diff_new_pack.nfJw0Y/_new  2019-05-17 23:40:21.558005223 +0200
@@ -41,6 +41,8 @@
 # PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 
[email protected] -- Add an applet on login UI to display suse icon, product 
name, hostname.
 # PATCH-FIX-UPSTREAM gnome-shell-animations-speedup.patch 
glgo#GNOME/gnome-shell!505 -- Speed up animations
 Patch5:         gnome-shell-animations-speedup.patch
+# PATCH-FIX-UPSTREAM gnome-shell-do-not-chain-up-to-parent-allocate.patch 
[email protected] glgo#GNOME/gnome-shell#1054 -- panel: Don't chain up to 
parent's allocate, resolving Topicon Plus extension high cpu consumption
+Patch6:         gnome-shell-do-not-chain-up-to-parent-allocate.patch
 
 Patch1001:      gnome-shell-gdm-login-applet.patch
 # PATCH-FEATURE-SLE gnome-shell-domain.patch fate#307773 [email protected] -- 
Active Directory Integration
@@ -167,6 +169,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 translation-update-upstream
 

++++++ gnome-shell-do-not-chain-up-to-parent-allocate.patch ++++++
>From d57234bec93dc486dac07d6cbc02c52091c5098a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <[email protected]>
Date: Mon, 29 Apr 2019 17:53:57 +0000
Subject: [PATCH] panel: Don't chain up to parent's allocate

The top bar handles allocating all its children itself, so there's
little value in chaining up to st_widget_allocate() and get the
default layout manager allocating all children again (and possibly
differently).

If this happens, we end up with an infinite allocation cycle with
corresponding performance penalty. Fix this by just doing and what
Shell.GenericContainer did before commit 286ffbe2b6 replaced it,
and not chain up to StWidget.

Thanks to Robert Mader for debugging the issue.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1054
Index: gnome-shell-3.32.1/js/ui/panel.js
===================================================================
--- gnome-shell-3.32.1.orig/js/ui/panel.js
+++ gnome-shell-3.32.1/js/ui/panel.js
@@ -882,7 +882,7 @@ class Panel extends St.Widget {
     }
 
     vfunc_allocate(box, flags) {
-        super.vfunc_allocate(box, flags);
+        this.set_allocation(box, flags);
 
         let allocWidth = box.x2 - box.x1;
         let allocHeight = box.y2 - box.y1;


Reply via email to