Addition to clipboard handling (bug?)

David Faure david at mandrakesoft.com
Mon Nov 4 13:45:31 GMT 2002


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

On Monday 04 November 2002 13:41, Andras Mantia wrote:
> Hi,
> 
>  Now I'm really wondering that without any Klipper running, if I select a part 
> of a message in KMail (when reading mails, not composing)  _with_ the mouse 
> and try to paste it somewhere (eg KDevelop) with MMB then it pastes some old 
> text from the clipboard and not the current selected from PRIMARY (as I 
> expected). Of course, pressing CTRL-C after I select the text works. Bug or 
> feature? I think it's a bug and it shouldn't behave this way.

Klipper running or not doesn't matter - its configuration affects KClipboard, used
by all apps; so make sure it's set to "separate selection and clipboard".

What you describe sounds like a bug in KHTML I fixed recently, where
the text selection code would sometimes fail - and therefore didn't copy
the selection. How uptodate is your khtml? Does updating it help?

I also have a further patch to improve text selection, but it got no review yet,
except "it looks messy" by Dirk :). It does, but not that much. The point is to detect
when the mouse is "above everything" (in the top margin) or "below everything" (in the
unused area below the HTML). See attachment. I doubt it helps for your specific
problem though, unless it's about selecting the very beginning or very end of
the message.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xnn772KcVAmwbhARAmigAJ9pknAF9dyqPHsrguYGDlRRbhF4zgCghb30
pfIQ1asw1Rz0w2rV52eVInA=
=pc+M
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: render_object.cpp.diff
Type: text/x-diff
Size: 2489 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021104/2abdf329/attachment.diff>


More information about the kde-core-devel mailing list