! 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 when flashing
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-panel
Component:
Windows Menu

Comments

Description Richard Stellingwerff 2006-06-03 21:35:39 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

Windows having an URGENT state causes the panel to flash the button belonging to the window. This is great, however, for something that changes color twice per second, CPU usage is rediculously high.

When my CPU runs at ~930MHz CPU usage is around 25% for xfce-panel and 10% for xorg (added up).

Surely this could be brought back to at most 1% for xfce-panel. We're talking about drawing a button twice per second here.

Reproducible: Always
Comment 1 Jasper Huijsmans editbugs 2006-06-04 09:10:23 CEST
(In reply to comment #0)
...
> 
> Surely this could be brought back to at most 1% for xfce-panel. We're talking
> about drawing a button twice per second here.

If you have any ideas about why it is taking so much CPU or how it could be reduced, please let me know. 
Comment 2 Richard Stellingwerff 2006-06-04 09:12:48 CEST
No problem, I'll have a look at it soon.
Comment 3 Jasper Huijsmans editbugs 2006-08-13 09:20:42 CEST
BTW, I think the problem might be that the X server is querried every time the button updates, to check if the button still demands attention. 

I don't know how to solve this, though.
Comment 4 Harold Aling 2007-09-23 20:27:27 CEST
(In reply to comment #3)
> BTW, I think the problem might be that the X server is querried every time the
> button updates, to check if the button still demands attention. 
> 
> I don't know how to solve this, though.
> 

Is this solved in the current version?
Comment 5 Nick Schermer editbugs 2008-08-27 08:23:36 CEST
Closing this bug, no response for over 2 years and it looks like a theme engine problems. Please reopen if you still have this problem.

Bug #1892

Reported by:
Richard Stellingwerff
Reported on: 2006-06-03
Last modified on: 2019-07-20

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information