This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Context browser styles and CPU usage

Tags: None
(comma "," separated)
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS

Context browser styles and CPU usage

Sun Mar 20, 2005 12:53 am
Hi,

I just tried this style for the context browser:

http://www.kde-look.org/content/show.php?content=20777

So I started to play a little with this theme. I recognized some performance issues with the hover effects. \"top\" tells me, that the XFree binary is using up to 100% of CPU when moving the mouse just up and down the lists.

Because of with the shipped themes it\'s OK (besides the \"reinhardt\" theme, which takes 50% of the CPU on my system when moving the mouse over the lists), I started to remove almost all images from the stylesheet but with no effect on the CPU usage.

A really strange behaviour which probably needs more testing and I am not sure if this is a bug or just normal.
Maybe just keep an eye on it.

Cheers,
Marcel
Flex
Registered Member
Posts
11
Karma
0
I can\'t reproduce it on my computer (suse 9.1 & xorg 6.8.1). Try amarok 1.2.3, there was a bug in khtml that casued 100% cpu load in some systems.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Just compiling it at the moment. I will report back when it\'s done and tested again.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Hmm, no, I guess it is no KHTML bug, as the XFree86 process is eating all cpu time.
I am running Xfree 4.3.0 on Debian Sarge. Can anyone confirm this behaviour? I still have no time to look closer to this problem at the moment na dto fill (maybe) a bug report.
User avatar
sebr
Moderator
Posts
301
Karma
0
I find that theme somewhat laggy, so i switched.
Psy
Karma
0
I noticed that, too. But why is the reinhardt theme (and probably all other non default ones) more laggier than the default one?
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Due to the background image. Slows down KHTML\'s rendering.


--
Mark Kretschmann - Amarok Developer
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Maybe that\'s right, I thought the same and altered the theme by removing first the background image with no result at all.
Then I removed more images used within (almost all of them in the css file), but the hover effect still causes the XFreee process to have 100% cpu usage. Very, very strange.
xatax
Registered Member
Posts
49
Karma
0
The lag comes from the Transparent images used on hovering i think.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]