On Saturday 10 of March 2012 14:56:52 cobines wrote: > 2012/3/9 zeljko <[email protected]>: > > 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: > http://bugs.freepascal.org/view.php?id=21453 > > 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 ? zeljko
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
