[Kde-accessibility] [PATCH] Fix for Kmag redraw problems
Sarang Lakare
sarang at users.sourceforge.net
Mon Jun 9 00:08:00 CEST 2003
The patch does what it is supposed to, but the CPU usage increases after
applying this patch. I tried to find the reason, but it is not very obvious.
This was my test case: Zoom level 8, kmag window pretty large, refresh set to
very low. Run kmag with and w/o the patch. w/o the patch, on my machine, the
CPU usage is a constant 75%, while with the patch, the CPU usage is 100%.
This happens even when the selection window is not shown.
My guess is that KMagSelWin is getting a refresh call when it shouldn't..
other than that I see no reason for the jump in CPU usage. I think this
should be fixed before applying the patch.
Regards,
Sarang
On Thursday 05 June 2003 05:36 pm, Olaf Jan Schmidt wrote:
> Hi!
>
> I have rewritten kmagselrect.cpp to fix the existing redraw problems.
> Patch attached.
>
> Objections against commiting?
>
> Olaf.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sarang Lakare
mailto:sarang at users#sourceforge.net
web:http://www.cs.sunysb.edu/~lsarang/linux
!!Join the fight for freedom - Go GNU/Linux!!
More information about the kde-accessibility
mailing list