[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] kopete waking up the CPU
From:       Matt Rogers <mattr () kde ! org>
Date:       2007-05-11 18:48:55
Message-ID: 200705111348.55981.mattr () kde ! org
[Download RAW message or body]

On Friday 11 May 2007 02:19, Will Stephenson wrote:
> It was brought to my attention earlier in the week that Kopete is KDE's bad
> boy #1 when it comes to waking up the CPU.  This is a bad thing because it
> prevents the CPU from power-saving.
>
> I've determined that the cause of most of the timer events that cause this
> is the 'smooth scrolling hack' added by Engin a couple of years ago.  It
> uses the low level QObject::startTimer() interface and leaves the timer
> running every 40ms the whole time.
>
> I can see 3 remedies for it:
>
> 1) Fix the code
>
> 2) Disable smoothscrolling by default - there is a config key for this but
> no UI.
>
> 3) Remove the code.
>
> 4) Do nothing
>
> I've tried 2 and 3 so far, removing the code seems to bring a greater
> reduction in activity as seen by strace than setting [ContactList]
> SmoothScrolling=false.  TBH I prefer option 3 because I'm a mean bastard ;)
> - not really, but because I find that the feature, while cool, introduces
> nonstandard UI behaviour - and would prefer to see this kind of thing in an
> 'eyecandy' contactlist version.  My apologies to Engin, of course.
>
> What do you think?
>
> Will

Go with option 3.
-- 
Matt
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic