Bug 159342 - Clone formatting should also switch off list
Summary: Clone formatting should also switch off list
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks: Clone-Formatting
  Show dependency treegraph
 
Reported: 2024-01-23 15:48 UTC by Oliver Specht (CIB)
Modified: 2024-02-23 01:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file (14.26 KB, application/vnd.oasis.opendocument.text)
2024-01-24 07:54 UTC, Oliver Specht (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Specht (CIB) 2024-01-23 15:48:30 UTC
If clone formatting is used to apply the attributes of a 'normal' paragraph to a paragraph in a list then the target paragraph should leave the list.
Comment 1 m_a_riosv 2024-01-24 01:43:18 UTC
Please attach a sample file, and paste the information in Menu/Help/About LibreOffice, there is an icon to copy.
Comment 2 Oliver Specht (CIB) 2024-01-24 07:54:14 UTC
Created attachment 192137 [details]
Sample file

Put the cursor into the first paragraph and press 'Clone formatting'.
Then apply that formatting to a selection of more than one paragraph of the ordered list or the unordered list. 

The list should be switched off.
Comment 3 Oliver Specht (CIB) 2024-01-24 07:54:24 UTC
Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 4 Gabor Kelemen (allotropia) 2024-01-24 14:30:03 UTC
Confirming. 
Word 2016 removes bullet&numbering from the target paragraph if the format painter copies a paragraph that has no bullet&numbering.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ef6083200a4f28e43198c7a0878da6f4b880725f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 5 Commit Notification 2024-01-29 11:05:57 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a5e2f4a8419a09d3a7d4118328824a5ea7ed2d6b

tdf#159342 switch off lists in clone formatting

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Buovjaga 2024-02-03 17:35:23 UTC
Can this be closed as fixed?
Comment 7 Gabor Kelemen (allotropia) 2024-02-23 01:33:17 UTC
Checked in 

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bbc9ac1f08a5ee4b9f65eaf10110df328d95de95
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default

works as expected.