Bug 115910 - clone text format does not remove attributes
Summary: clone text format does not remove attributes
Status: RESOLVED DUPLICATE of bug 106195
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-21 13:52 UTC by Tis Veugen
Modified: 2020-03-24 07:57 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tis Veugen 2018-02-21 13:52:32 UTC
Description:
The clone text format has several flaws.
One explicit is that attributes are not removed.
 I click the "Clone Formatting" icon, then I click another word. If that second word has both italic and underline, then these attributes are not removed.


Steps to Reproduce:
1. Put my cursor at a word without italic or underline
2. Click the "Clone Formatting" icon
3. Click another word having both italic and underline

Actual Results:  
italic and underline attributes are not removed

Expected Results:
italic and underline attributes must be removed


Reproducible: Always


User Profile Reset: Yes



Additional Info:
N.B. Doing the steps starting with the italic word, then correctly it copies the italic attribute to the word without italics


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Comment 1 Timur 2018-02-21 17:00:14 UTC
If you clone let's say Bold to Italic, then result is B+I because they both were direct formatting. 
You cannot add direct formatting and expect that to remove existing one. 
You may use Ctrl on destination and it will include paragraph formatting. And you may get what you want. 
So not a bug. But let's say it's a problem of insufficient doc so a duplicate.

*** This bug has been marked as a duplicate of bug 112872 ***
Comment 2 Tis Veugen 2018-02-21 19:47:46 UTC
Hmm, so it is not a bug but a feature.
However, I checked:

Bold word to Underlined word -->  B + U
Underlined word to Bold word -->  B + U

Italic word to Underlined word -->  I + U
Underlined word to Italic word -->  I + U

Italic word to Bold word -->  I + B
However:
Bold word to Italic word -->  B
So, no Italic anymore!!
Your example is not true, and hence this situation must be a bug ;-}
Comment 3 Timur 2020-03-24 07:57:01 UTC

*** This bug has been marked as a duplicate of bug 106195 ***