Bug 125265

Summary: Indentation is lost when pasting as rich text from Writer in webmail
Product: LibreOffice Reporter: david.cortes.rivera
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, raal
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=125262
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 109040    

Description david.cortes.rivera 2019-05-13 15:38:26 UTC
Steps to reproduce:
* Write some text in a plain text editor using tabs as indentation for some lines.
* Paste said plain text into LO Writer.
* Copy that same text, but this time from LO Writer.
* Paste that text into somewhere else outside of LO that would allow rich text formatting, such as webmail services from gmail or yahoo.

Quick example:
a
	b
		c
d

Expected behavior: should preserve the indentation as tabs, or convert those tabs to 4 spaces each.

Actual behavior: removes the indentation completely.
Comment 1 raal 2019-05-28 16:07:42 UTC
I cannot confirm with Version: 6.3.0.0.alpha1+
Build ID: 53325b40b557cc84d8d21c1baa0ef8d3bfc00ab8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
and gmail (firefox)
Comment 2 david.cortes.rivera 2019-05-28 16:37:11 UTC
(In reply to raal from comment #1)
> I cannot confirm with Version: 6.3.0.0.alpha1+
> Build ID: 53325b40b557cc84d8d21c1baa0ef8d3bfc00ab8
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> and gmail (firefox)

Can also confirm that the linux version is unaffected (6.1.5.2).
Comment 3 Timur 2019-07-02 11:24:07 UTC
Repro OO and LO 6.4+ in Windows with paste to Gmail. 
In Gmail, it looks so, because bold is kept while indentation is not.
So I'll confirm.

Note: in MSO it is not "when pasting as rich text". If we paste special in MSO as rich text or Keep Text only, indentation is there. If HTML or Keep source or Merge formatting, no indentation.
Comment 4 QA Administrators 2021-07-02 03:42:47 UTC Comment hidden (obsolete)
Comment 5 david.cortes.rivera 2021-07-02 03:45:14 UTC
Bug is still present.

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 1:7.0.4-4
Calc: threaded