[Lazarus] Setting clipboard on Linux adds ending #0
zeljko at holobit.net
Sat Mar 10 15:51:43 CET 2012
On Saturday 10 of March 2012 14:56:52 cobines wrote:
> 2012/3/9 zeljko <zeljko at holobit.net>:
> > Good, then prepare patch and that's it :) My observation about openoffice
> > IS about OpenOffice (not LibreOffice) maybe 2yrs ago, and probably gtk2
> > < 2.20 or something like that.Also when i said "copy" from OO, I didn't
> > mean copy via Ctrl + C , but via mouse selection and then middle click
> > into eg TEdit or TMemo - that problem existed definitelly.
> Indeed, the problem still exists with OpenOffice and LibreOffice, but
> this must is a bug in OpenOffice because the selection received from X
> doesn't match what was selected by mouse. This only happens with
> PRIMARY clipboard (mouse selection), copying via CLIPBOARD selection
> (Ctrl+C) doesn't have this problem. The problem also exists when
> pasting to other non-Lazarus applications; copying from Lazarus app
> into OpenOffice doesn't show any problems.
> I have opened an issue:
> I basically did the same as in LCLQT - make LCLGTK2 remove the
> trailing zero. Also, conversion to COMPOUND_TEXT already indirectly
> removed trailing zero.
ok, let's back at beginning ... what problem is caused by trailing null
terminator under gtk2 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus