[Patch] fixlet for caretPositionChanged insanity

Leo Savernik l.savernik at aon.at
Mon Dec 29 15:25:34 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

This patch fixes the emission of the caretPositionChanged signal for each 
mouse move (which is a big waste of cycles because the caretPositionChanged 
is emitted in the mouseRelease handler anyway).

Then it also improves the caret position recalculation only to be done if it 
is needed (i. e. the caret is visible).

Nicolas, could you try the patch and tell me if it breaks selection in kafka? 
Maybe kafka relies on caretPositionChanged during mouseMove (it seemed to 
work for me when I tested it).

Ok to commit?

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/8Eduj5jssenUYTsRAuOdAJ9YpomT6zffYNiiOijcexy1ql8lygCfbbEw
ahecewcNEsw39RrQ8fLnz4I=
=+4JS
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml_navigation_48.diff
Type: text/x-diff
Size: 1545 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031229/75ebd759/attachment.diff>


More information about the kfm-devel mailing list