Bug 159726 - Copying two list styles in Impress resets target list style to none
Summary: Copying two list styles in Impress resets target list style to none
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (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-02-14 23:23 UTC by Gabor Kelemen (allotropia)
Modified: 2024-03-08 12:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Impress (14.14 KB, application/vnd.oasis.opendocument.presentation)
2024-02-14 23:23 UTC, Gabor Kelemen (allotropia)
Details
Formatting before copying (14.79 KB, image/png)
2024-02-14 23:24 UTC, Gabor Kelemen (allotropia)
Details
Target formatting getting reset after copying (15.64 KB, image/png)
2024-02-14 23:24 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-02-14 23:23:46 UTC
Created attachment 192570 [details]
Example file from Impress

Attached example file contains two slides with example text.
Copying one paragraphs list formatting with the format paintbrush to the second slide works (after commit bbe1f37645cf864c7c974d36cf2fe3a73d0c085f), but copying two resets the target to have no list formatting at all.

1. Open attached file
2. From the first slide select the Def paragraph, click on the format paintbrush
3. Copy the formatting to the second slides first paragraph 
-> it gets the Roman numbering
4. From the first slide select the Def and the Ghi paragraphs, click on the format paintbrush
5. Copy the formatting to the second slides second and third paragraphs
-> their bullet/numbering gets turned off

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

and in 3.3, this never worked before.
Comment 1 Gabor Kelemen (allotropia) 2024-02-14 23:24:13 UTC
Created attachment 192571 [details]
Formatting before copying
Comment 2 Gabor Kelemen (allotropia) 2024-02-14 23:24:45 UTC
Created attachment 192572 [details]
Target formatting getting reset after copying
Comment 3 Commit Notification 2024-03-07 20:49:07 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

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

tdf#159726 Improve 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 4 Gabor Kelemen (allotropia) 2024-03-08 12:39:08 UTC
Tested in todays nightly:

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

Looks good: numbering style is not cloned if there are two paragraphs selected.