! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
High CPU usage in xfce4-panel
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description Adam Jones 2017-08-28 15:32:02 CEST
After updating from 4.12.x to 4.13.1, xfce4-panel shows 100% CPU usage (on a single core, split between xfce4-panel and the X server) when:
the window buttons panel plugin is added
there is at least one non-minimised window on the current desktop

Minimising or closing all windows on the current desktop reduces CPU usage to normal levels
Removing the window buttons plugin from the panel also works around the issue
Comment 1 Adam Jones 2017-08-28 15:49:41 CEST
Reproducible for me with all window button plugin preferences as default after removing and re-adding the plugin.

strace shows xfce4-panel spinning in a tight loop of poll/recvmesg calls, all returning -EAGAIN.  It appears to do roughly the same without the window buttons installed, only much more slowly.

Running under Gentoo; the --enable-gtk2 configure flag is the only option set by their package.  Built with GCC 6.4.0, x86_64.
Comment 2 John Y. 2017-09-04 02:40:49 CEST
I have the same high CPU usage except Minimising or closing all windows on the current desktop DOES NOT reduce CPU usage to normal levels. Removing the window buttons plugin does reduce CPU usage to normal levels, x86,  gcc-5.4.0
Comment 3 Simon Steinbeiss editbugs 2017-09-12 23:35:21 CEST
Very strange, I can't reproduce that at all.

I have a lot of open windows and tried to just remove and re-add the window buttons plugin and there was no significant CPU spike visible in top. Could you tell me a bit more about your environment (package versions like Gtk+ etc)?
Comment 4 Simon Steinbeiss editbugs 2017-09-12 23:52:51 CEST
What version of xfconf are you running?
(Please note that versions before 4.13.4 had some stability problems.)
Comment 5 Adam Jones 2017-09-12 23:54:14 CEST
I'm using gtk+ 2.24.31 and 3.22.19 here; libxfce4panel seems to be linking against gtk-3:

ldd /usr/lib64/libxfce4panel-2.0.so
	linux-vdso.so.1 (0x00007fffadfd3000)
	libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x00007fb6d331a000)
	libgdk-3.so.0 => /usr/lib64/libgdk-3.so.0 (0x00007fb6d302e000)
	libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0 (0x00007fb6d2e21000)
	libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007fb6d2bd3000)
	libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007fb6d29ad000)
	libcairo-gobject.so.2 => /usr/lib64/libcairo-gobject.so.2 (0x00007fb6d27a4000)
	libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007fb6d2480000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0 (0x00007fb6d225c000)
	libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007fb6d1ec0000)
	libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007fb6d1c6c000)
	libxfce4util.so.7 => /usr/lib64/libxfce4util.so.7 (0x00007fb6d1a5d000)
	libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fb6d1749000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fb6d1432000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb6d1212000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fb6d0e60000)
	libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007fb6d0c5c000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fb6d091c000)
	libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fb6d070b000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fb6d0505000)
	libatk-bridge-2.0.so.0 => /usr/lib64/libatk-bridge-2.0.so.0 (0x00007fb6d02d6000)
	libepoxy.so.0 => /usr/lib64/libepoxy.so.0 (0x00007fb6cffd5000)
	libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007fb6cfdbf000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fb6cfb7b000)
	libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fb6cf978000)
	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fb6cf76d000)
	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fb6cf562000)
	libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007fb6cf35f000)
	libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fb6cf15c000)
	libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007fb6cef1c000)
	libwayland-cursor.so.0 => /usr/lib64/libwayland-cursor.so.0 (0x00007fb6ced14000)
	libwayland-egl.so.1 => /usr/lib64/libwayland-egl.so.1 (0x00007fb6ceb12000)
	libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007fb6ce903000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fb6ce6f1000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fb6ce4e9000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fb6ce235000)
	libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007fb6cdf8b000)
	libEGL.so.1 => /usr/lib64/opengl/nvidia/lib/libEGL.so.1 (0x00007fb6cdd79000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fb6cdb75000)
	libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fb6cd93e000)
	libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007fb6cd73a000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fb6cd511000)
	libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007fb6cd303000)
	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fb6cd0f8000)
	libz.so.1 => /lib64/libz.so.1 (0x00007fb6ccee1000)
	libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007fb6ccc3d000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fb6cca26000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007fb6cc7d1000)
	libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007fb6cc5c8000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fb6cc356000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fb6d3e4b000)
	libatspi.so.0 => /usr/lib64/libatspi.so.0 (0x00007fb6cc125000)
	libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fb6cbee0000)
	libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007fb6cbc49000)
	libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fb6cba1e000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fb6cb80e000)
	libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007fb6cb540000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fb6cb33c000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fb6cb136000)
	libGLX.so.0 => /usr/lib64/opengl/nvidia/lib/libGLX.so.0 (0x00007fb6caf06000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007fb6cacbb000)
	libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007fb6caa8e000)
	libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fb6ca879000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fb6ca674000)

I'm using the NVidia OpenGL drivers, which might have an effect somehow?  If John Y. is as well, that might suggest something.

xfconf is version 4.13.4

Happy to give the specific versions of any packages you're interested in.  I can probably manage to step through things in a debugger or run xfce4-panel under a profiler given sufficient hints (I've never played with gprof before)
Comment 6 j.pfeifer 2017-09-14 21:07:10 CEST
I have the same issue as the original post by Adam. If there is any active window on the active desktop, I have to 
 minimize any windows and click the desktop itself for the CPU usage to return to normal. If I remove the windows button panel plugin, the issue is not present. Running x86_64 on Gentoo.

gtk+ 2.24.31 and 3.22.19 as in comment #5.

list of xfce-base-4.13.x packages installed:
xfce-base/libxfce4util-4.13.1
xfce-base/xfconf-4.13.4
xfce-base/libxfce4ui-4.13.3
xfce-base/xfce4-panel-4.13.1
xfce-base/xfce4-appfinder-4.13.0
xfce-base/xfce4-session-4.13.0
xfce-base/xfce4-settings-4.13.1
xfce-base/xfdesktop-4.13.1
xfce-base/xfwm4-4.13.0-r1

Also to note, I am not using an nvidia video chipset. I have an intel i965. xorg version 1.19.3 using the modesetting module for the display. My setup is a multi monitor setup (2 monitors, extended desktop).
Comment 7 Adam Jones 2017-09-15 09:25:51 CEST
I'm using a single monitor with two virtual desktops, so it's not a multi-monitor thing, although it may be a multi-desktop one?
Comment 8 Simon Steinbeiss editbugs 2017-09-16 15:48:22 CEST
Just out of curiosity, do you get the same behavior with the window menu plugin?
Comment 9 Adam Jones 2017-09-16 22:06:49 CEST
The window menu plugin does not appear to cause the same issue, no.
Comment 10 John Y. 2017-09-25 20:17:58 CEST
zinger ~ # ldd /usr/lib/libxfce4panel-2.0.so
	linux-gate.so.1 (0xb7703000)
	libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0xb6f53000)
	libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0xb6e9c000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6e8e000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6e40000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6e1c000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0xb6e14000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6cd8000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6cb0000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6b06000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6ab1000)
	libxfce4util.so.7 => /usr/lib/libxfce4util.so.7 (0xb6aa0000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6987000)
	libm.so.6 => /lib/libm.so.6 (0xb692d000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb690e000)
	libc.so.6 => /lib/libc.so.6 (0xb6754000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6750000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6744000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6738000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb6725000)
	librt.so.1 => /lib/librt.so.1 (0xb671c000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6717000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb65d9000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb65c7000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb65c3000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb65bf000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb65b9000)
	libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0xb658a000)
	libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0xb64b4000)
	libdl.so.2 => /lib/libdl.so.2 (0xb64af000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6499000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6454000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb63a2000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb639d000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb6305000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb625a000)
	libEGL.so.1 => /usr/lib/libEGL.so.1 (0xb6222000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb61e8000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb61e4000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb61b8000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb61a9000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb619e000)
	libz.so.1 => /lib/libz.so.1 (0xb6185000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0xb6105000)
	libffi.so.6 => /usr/lib/libffi.so.6 (0xb60fa000)
	libpcre.so.1 => /lib/libpcre.so.1 (0xb6087000)
	libresolv.so.2 => /lib/libresolv.so.2 (0xb6070000)
	libmount.so.1 => /lib/libmount.so.1 (0xb601a000)
	/lib/ld-linux.so.2 (0x800ca000)
	libatspi.so.0 => /usr/lib/libatspi.so.0 (0xb5feb000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb5fa2000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5f79000)
	libbz2.so.1 => /lib/libbz2.so.1 (0xb5f68000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0xb5f3a000)
	libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb5f32000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb5f2f000)
	libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb5f2b000)
	libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb5f22000)
	libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb5f1e000)
	libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb5f16000)
	libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb5f13000)
	libgbm.so.1 => /usr/lib/libgbm.so.1 (0xb5f04000)
	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb5ef7000)
	libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0xb5ee6000)
	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb5ed3000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb5ecd000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5ec6000)
	libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb5e8b000)
	libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb5e6e000)
	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb5e67000)
	libblkid.so.1 => /lib/libblkid.so.1 (0xb5e1a000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb5e14000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb5e0a000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb5dee000)
	libsystemd.so.0 => /lib/libsystemd.so.0 (0xb5d4a000)
	libbsd.so.0 => /usr/lib/libbsd.so.0 (0xb5d2d000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0xb5c58000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0xb5c41000)
	libcap.so.2 => /lib/libcap.so.2 (0xb5c3b000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb5c25000)

------------------------------------

zinger ~ # emerge --info xfce4-panel 
Portage 2.3.10 (python 2.7.14-final-0, default/linux/x86/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.25-r5, 4.10.6-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.6-gentoo-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.4.1
KiB Mem:     3079152 total,   1167460 free
KiB Swap:   20669436 total,  20668732 free
Timestamp of repository gentoo: Mon, 25 Sep 2017 13:30:01 +0000
Head commit of repository gentoo: 9caf9a427e29de032b3d27375cb2bb0bda846af0
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.31.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.28.1::gentoo, 2.29::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

zinger-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8-sse3 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac aalib acl acpi activities alsa asf avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative divx4linux dri dts dvd dvdr dvdread emboss encode exif fam firefox flac foomaticdb fortran gdbm gif glamor gnome gnome-keyring gpm gstreamer gtk gtk2 iconv icu introspection ipv6 jpeg kde kipi kwallet lcms ldap libnotify live mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon pic plasma png policykit ppds prebuilt pulseaudio qml qt3support qt4 qt5 quicktime radeon readline real rtc ruby21 samba sdk sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcltk tcpd threads tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 x86 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32" ALSA_CARDS="ymfpci emu10k1 cs46xx" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US.utf8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

xfce-base/xfce4-panel-4.13.1::gentoo was built with the following:
USE=""
Comment 11 Rabbe Fogelholm 2018-04-01 11:08:58 CEST
Same problem seen with 4.13.2 on Gentoo.
Comment 12 Simon Steinbeiss editbugs 2018-04-01 21:12:32 CEST
Could you try if you can reproduce with git master? I recently pushed a patch which could be related to this issue: https://git.xfce.org/xfce/xfce4-panel/commit/?id=c5e59cb2e28568629d62d5485ce97e9711b3ad84
Comment 13 j.pfeifer 2018-04-01 22:21:26 CEST
The patch in Comment 12 fixed the issue for me.
Comment 14 Rabbe Fogelholm 2018-04-02 19:07:10 CEST
Interesting! Before reading this I did some tracing in the tasklist-widget.c module. I found that the function xfce_tasklist_forall gets called very frequently, like 100 times per second, as soon as the panel has a "window buttons" item and there is one or more windows visible. I didn't get around to trace in other modules. But I'll try the Comment 12 patch next and see if it helps.
Comment 15 Rabbe Fogelholm 2018-04-02 21:44:56 CEST
Success, the Comment 12 fix helps for me too. I will put a note about this also in the Gentoo bugzilla: https://bugs.gentoo.org/642298
Comment 16 Simon Steinbeiss editbugs 2018-04-03 14:07:07 CEST
Ok thanks for testing, I'll close this report for now based on the fix: https://git.xfce.org/xfce/xfce4-panel/commit/?id=c5e59cb2e28568629d62d5485ce97e9711b3ad84

Bug #13829

Reported by:
Adam Jones
Reported on: 2017-08-28
Last modified on: 2019-07-20

People

Assignee:
Simon Steinbeiss
CC List:
5 users

Version

Version:
4.13.1

Attachments

Additional information