[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: konqueror <-> clipboard <-> klipper
From: Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date: 2000-08-25 0:45:18
[Download RAW message or body]
Carsten Pfeiffer wrote:
>
> Hi,
>
> qwertz had a nice observation: when rendering a big html-file like
> cvsbook.html, klipper and X take a significant amount of CPU (30% X, 20%
> klipper), so konqueror is left with very little CPU time. Note: this only
> happens with konq, not testkhtml. Once the file is rendered completely,
> klipper and X go back to normal business.
>
> klipper polls kapp->clipboard() and checks for changes once a second, and
> top shows that it is indeed idle between two checks. It only consumes
> 20% CPU when doing the check. X on the other hand burns CPU cycles all the
> time.
I think (but I am far from sure, it is late and I am drunk) that
it is possible to get X to tell you when the clipboard changes.
If this is true then we could get KApp to notify klipper using
an X11 event filter that emits a 'clipBoardChanged()' signal.
Rich.
>
> Any ideas?
>
> Cheers,
> Carsten Pfeiffer
> --
> http://www.geocities.com/SiliconValley/1632/
--
Richard Moore rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/ richard@robocast.com
http://developer.kde.org/ rich@kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic