Bug 139770 - Special Paste RTF includes converts paragraph style to Direct formatting
Summary: Special Paste RTF includes converts paragraph style to Direct formatting
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-19 18:40 UTC by Telesto
Modified: 2021-01-20 11:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (10.28 KB, application/vnd.oasis.opendocument.text)
2021-01-19 18:41 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-01-19 18:40:55 UTC
Description:
Special Paste RTF includes converts paragraph style to Direct formatting

Steps to Reproduce:
1. Open attached file
2. CTRL+A
3. CTRL+X
4. CTRL+SHIFT+V
5. RTF Paste
6. Check style inspector in the sidebar

Actual Results:
Paragraph will get Direct formatting

Expected Results:
This hits my topic about 'why does setting of direct formatting at beginning of the paragraph result in Direct Formatting at paragraph level'

Another question is how this affects the Paragraph style workflow:
not saying having a idea how to solve this. But this obviously introduces another source for unintended DF


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2081eac430ac69619149e44b453a2d7dda41fc83
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-01-19 18:41:11 UTC
Created attachment 169025 [details]
Example file
Comment 2 Telesto 2021-01-19 18:43:11 UTC
@Heiko
This doesn't qualify as a bug. As i'm not sure if this actual wrong. Nor having clear alternative in mind.. But do see this as problematic. 

And not even started to compare what happens with styles in different (docx/doc). Appears to me RTF doing only DF?
Comment 3 Heiko Tietze 2021-01-20 11:52:50 UTC
AFAIK, RTF is similar to HTML in terms of <b>bold text</b> or <h1>Heading</h1>. If you copy text with a certain paragraph style like <emphasis>bold text</emphasis> from a full-featured word processor into a simple text format with a few formatting capabilities you loose information. Clearly NAB.

If you need further information or confirmation we have to ask an expert such as Mike.