Wheny trying to copy & paste formatted / coloured text into writer it will be pasted as plain text. Also paste special (via right mouse click) does not show RTF selection item.
This issue arises only in writer v5.2.x (I tested release versions: 5.2.2 and 5.2.3)
In v 5.1.6 everything works fine.
I've tested it on Windows 7 + 10 with the same result.
* IBM Notes (Lotus Notes) --> copy from a mail
* SQuirrel (http://squirrel-sql.sourceforge.net/)
--> SQL Editor > right mouse button -> Copy in RTF
- this should paste coloured text and preformatted text type - but it will be pasted default style as plain text.
Pasting in Writer v5.2.x is always plain (unformatted) text - special paste does not show the RTF field (as it will shown in LO v5.1.6 and in old OpenOffice)
ps: see also https://ask.libreoffice.org/en/question/77613/win-10-lo-52-doesnt-paste-rich-text-from-clipboard-to-doc
Confirmed with 184.108.40.206 / Windows 7. Works fine in 220.127.116.11. => regression
I used WordPad, set a piece of text red, then copied it, and tried to paste it in Writer. In 18.104.22.168 there's "Formatted text (RTF)" option in Paste Special dialog, since 22.214.171.124 that option is missing.
Also on linux when coming text from 5.1.5 to master.
Build ID: 883024d657fb45c7da459017d2f936aac5644bfb
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; VCL: gtk2; Layout Engine: new;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-11-21_22:42:51
Locale: en-US (en_US.UTF-8); Calc: group
Created attachment 128966 [details]
details of bibisect within win32-5.2 repository
For testing I did the following ...
(*) In WordPad, created a .rtf with two paragraphs, one in Arial 10 point.
(*) In WordPad, select the whole document and Copy.
(*) In LibreOffice, Paste, variously by <Ctrl>+V, <Ctrl>+<Shift>+V,
<Alt>+E P. Only <Ctrl>+Shift+V offered the "Paste Special" dialog
with a selection what to paste. When that dialog offered
"Formatted text [RTF]", all ways of pasting pasted with the fonts
from the copy-from document. Otherwise, all ways of pasting
pasted in Liberation Serif 12 point.
Working on Windows Vista in the win32-5.2 bibisect repository I see ...
commit s-h date
-------- -------- -------------------
good e40edc1a 416526cf 2016-03-10 10:09:07
bad 81cc3639 36bf1324 2016-03-10 10:11:04
The commit message is ...
terry@lynn-stretch:~/lo_hacking/git/libo6$ git log -1 36bf1324
Author: Oliver Specht <firstname.lastname@example.org>
Date: Wed Mar 9 16:19:51 2016 +0100
tdf#97591: mark RTF clipboard format as text/rtf
text/rtf replaces text/richtext which is not RTF
Reviewed-by: Oliver Specht <email@example.com>
Tested-by: Oliver Specht <firstname.lastname@example.org>
I am removing keyword bibisectRequest and adding bisected.
thanks for bisecting this bug, it looks like a duplicate of bug 101828 as it's the same commit that introduced both bugs
*** This bug has been marked as a duplicate of bug 101828 ***
Is there a chance to get this bug fixed either in 5.2.x or 5.3.x ?
I mean - an Office Program that is not able to cut & paste anything else than pure plain text does not really make sense - or am I wrong?
This bug has not been been fixed in latest version (5.2.4.x).