Lost Paragraph Styles when copying Impress Outline into Writer Outline since version 24.8.2.1

Hi,

Until the last update (now version 24.8.2.1), I regularly used to following procedure to create an outline for my students based on the slides:

  1. Go to ‘outline’ view of Impress
  2. Select all text and Copy
  3. Open a Writer document (specific model which had specific styles having the same name as the styles in Impress)
  4. Paste the text in Writer
  5. Press ‘Clear Direct Formatting’
    → I then had a clean outline for my students, as each line imported from Impress would be formatted according to its level (title, Level 1, level 2 etc.) based on the pre-defined style in Writer (the ‘paste’ function would import the style name from Impress, and I had corresponding styles in Writer). WriterOutlineBasedOnImpressOutline-OLD version.odt (34.9 KB)

Since last update, LibreOffice seems to paste the entire text into Writer with the style ‘default formatting’, instead of keeping, for each line, the specific style name that was in Impress. → When I ‘clear direct formatting’, everything becomes formatted to ‘default text’ rather than specific lines.

Any solution for quickly exporting and formatting?

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 14; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: fr-CH (fr_CH); UI: fr-FR
Calc: CL threaded

This is a regression after a fix to tdf#161652. It was intended to avoid copying the unused styles; but obviously, it also drops the used ones.

You need to file a bug report.