! 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 !
Panel's taskbar goes into infinite loop
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-panel
Component:
General

Comments

Description edmund_eyles 2011-02-03 13:13:23 CET
I am intermittently getting this problem: when I start an application, the taskbar (i.e. the part of the panel where icons are placed for running applications) starts expanding and contracting at a very high rate.  It is then impossible to see exactly what is in the taskbar and to interact with it.  At the same time CPU usage by the xfce4-panel process goes up to 50% and higher, and remains there.

This can happen anything from once a week to several times a day.  It does not seem to be triggered by starting a particular application - it can be anything (e.g. Terminal, Icedove).  Once it was triggered when a Python script I was running itself went into an infinite loop.  It does seem to be related to a highish system load, but this is not at all consistent - it can happen when the load is low, and it does not always happen when the load is high.

I don't know whether this is relevant, but the way I start most applications is with keyboard shortcuts I have defined, e.g. Ctrl-Alt-T for Terminal.  When I start an application in this way, and it is an application that allows multiple instances of itself to be run (such as Terminal), I will intermittently get two instances started at the same time, and when this happens the panel also starts its strange behaviour.  The "double instances" issue is merely a minor annoyance, but I don't know if it will shed further light on the panel problem.

This said, the panel problem is not exclusively restricted to starting applications using Xfce keyboard shortcuts: it has also occurred when opening a reply e-mail message within Icedove using Ctrl-R.

Sometimes this behaviour can be stopped by closing the application that appeared to trigger it, sometimes not.  Sometimes closing other applications will help, sometimes not.  Sometimes it stops of its own accord after a few minutes, sometimes not.  

I have discovered that I can get out of this behaviour by killing the xfce4-panel process, then restarting it.  When it restarts, I get the following error messages:
$ xfce4-panel
(xfce4-panel:4800): xfce4-panel-WARNING **: Internal plugins need the "X-XFCE-Module-Path" entry to work properly.
(xfce4-panel:4800): xfce4-panel-WARNING **: Failed to create plugin "minicmd"
(xfce4-panel:4800): xfce4-panel-WARNING **: Internal plugins need the "X-XFCE-Module-Path" entry to work properly.
(xfce4-panel:4800): xfce4-panel-WARNING **: Failed to create plugin "quicklauncher"
(xfce4-panel:4800): xfce4-panel-WARNING **: Internal plugins need the "X-XFCE-Module-Path" entry to work properly.
(xfce4-panel:4800): xfce4-panel-WARNING **: Failed to create plugin "smartbookmark"
I don't know whether any of this helps?

I have also discovered that when the panel gets into this spin, it can be stopped by opening the panel properties and changing it from 'Normal height' to 'Full height'.  This causes the vertical panel to expand to
fit the height of the screen.  The juddering stops, and the CPU usage of
the panel process drops to what I presume is normal: 1.5% - 2%.  (I find 
it a little odd that the process is not more idle.)

In short, this is a serious usability issue with little rhyme or reason to it.  I would be happy to investigate further if given some pointers as to what to
look for.  I am running Debian lenny, and I have reported this to the Debian bugs system (reference 611326), but have had no response whatsoever from them.
Comment 1 Nick Schermer editbugs 2011-02-03 16:35:34 CET
Well, currently we're already at 4.8.1 version of xfce4-panel, so it would be nice if you could give that a try. I'm pretty sure the tasklist rewrite makes is less cpu and memory hungry, then the wnck tasklist (which is also in gnome) you're currently using.
Comment 2 edmund_eyles 2011-02-04 13:35:01 CET
The version I'm using is the latest packaged for my Linux distribution: Debian lenny.  I am willing to try out XFCE 4.8, and have now spent > 3 hours trying to build it, without success.  It is an unbelievably long-winded process, the documentation for which leaves a lot to be desired.  Anyway, I have now hit a brick wall with an error message about missing libraries which are not named by the install scripts, and which I cannot guess the names of.  (And Google has not been my friend in this case.)  I have made a forum post to try to get some help.  I will progress this as and when any help is forthcoming and as and when I have some time, but I wouldn't hold my breath if I were you.
Comment 3 edmund_eyles 2011-02-25 02:07:06 CET
I now appear to have successfully built XFCE 4.8, but I have no idea how to actually install it.  The build process creates a lot of executables, but does not seem to put them in the right place.  There are no installation instructions available on the XFCE site.  I have made a forum post asking for help, which has been met with a deafening silence in the space of 10 days.  I can go no further, and in any case I have no motivation to devote any more of my time to this.  Do what you want with this bug.  Bye-bye XFCE, I wish I could say it was nice knowing you.
Comment 4 Nick Schermer editbugs 2011-02-25 08:31:21 CET
http://www.xfce.org/download/building

Bug #7231

Reported by:
edmund_eyles
Reported on: 2011-02-03
Last modified on: 2011-04-10

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information