Bug 118365 - Style attached to a source of Formatting cloned is ignored and interpreted as a style which is not applied to it.
Summary: Style attached to a source of Formatting cloned is ignored and interpreted as...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-25 08:06 UTC by ricky.tigg
Modified: 2018-10-08 23:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Formatting-cloned – Illustrations (10.45 KB, application/vnd.oasis.opendocument.text)
2018-06-25 08:09 UTC, ricky.tigg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ricky.tigg 2018-06-25 08:06:25 UTC
Description:
Style –other than Default Style– attached to a source of Formatting cloned, and then applied to a pattern, is ignored and interpreted as a style which is not applied to it.

Steps to Reproduce:
Respective cases' illustrations; see attachment. Display Styles column (F11))
1. case-1 – expression written according to Default Style.
2. case-2 – expression written according to a new formatted style (Text Body).
3. case-3 – expression written according to two formatted styles (Default Style –case-1– and style whose source is case-2 –Text Body–). Last style has to be produced by using function Clone-formatting and expression in case-2 as source for clone.

Actual Results:
In case-3, style attached to formatting cloned and applied to '’formatting-cloned: ’Text Body’' is ignored by the application; it is interpreted as Default Style.

Expected Results:
Style resulting from an operation of formatting cloned is intended to be the one attached to the source cloned –case-2–, which is presently Text Body.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.0.4.2
Build ID: 6.0.4.2-4.fc28
CPU threads: 2; OS: Linux 4.16; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 ricky.tigg 2018-06-25 08:09:31 UTC
Created attachment 143088 [details]
Formatting-cloned – Illustrations
Comment 2 Aron Budea 2018-10-08 23:09:53 UTC
As described in [1], clone formatting copies character level formatting by default, hold Ctrl while clicking on the target text, and the style reference (as paragraph-level formatting) will be copied as well.

Note that because of this what you want to achieve in case 3 (where you want a paragraph-level formatting applied to a part of a paragraph) can't be done exactly like that.

Hopefully this explains the behavior, closing ticket as NOTABUG.

[1] https://help.libreoffice.org/Common/Copying_Attributes_With_the_Clone_Formatting_Tool