Bug 135026 - FILESAVE RTF Content of Sequence-linked frames lost
Summary: FILESAVE RTF Content of Sequence-linked frames lost
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: RTF-Frame
  Show dependency treegraph
 
Reported: 2020-07-21 17:59 UTC by Telesto
Modified: 2025-05-19 18:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (3.13 MB, application/vnd.oasis.opendocument.text)
2020-07-21 18:00 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-21 17:59:51 UTC
Description:
Large arrow images on file save rtf (and missing text)

Steps to Reproduce:
1. Open the attached file
2. Save as RTF
3. File reload
4. Scroll to page 6-9 -> Encounter large arrow

Actual Results:
Large images

Expected Results:
Regular sized


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.1

and in
Version: 6.2.4.0.0+
Build ID: 915ec0b5f5ce9a2da6a51f5278ea4faaffa19839
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

but not in
6.0
Comment 1 Telesto 2020-07-21 18:00:12 UTC
Created attachment 163376 [details]
Example file
Comment 2 BogdanB 2020-09-16 16:58:59 UTC
Confirm with

Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 Aron Budea 2022-04-22 03:37:20 UTC
(In reply to Telesto from comment #0)
> Expected Results:
> Regular sized
Not sure why any arrows would be expected there. The empty pages have already been there since 3.3.0, while they aren't in the original. Nevertheless, the oversized arrow images started appearing with the following commit.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0c91f8f839d36c8b5af272b1d3c835d2f4af6b65
author		Miklos Vajna <vmiklos@collabora.co.uk>	2018-07-16 22:04:02 +0200
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2018-07-17 09:03:42 +0200

"tdf#81943 sw RTF import: fix missing wrap in background for in-table shape"

This claims to fix a regression, so I checked the state before the regressing commit, and there are no large arrows.
Comment 4 QA Administrators 2024-04-22 03:15:23 UTC Comment hidden (obsolete)
Comment 5 Gabor Kelemen (allotropia) 2025-05-19 18:55:53 UTC
This has changed in 7.4 with:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=f07d4faac47cdf3cd09b036d07b03c6bb8d86372

before, these large arrow images filled some frames which used to have text content
but now, these are empty.

This was also a fileopen problem, but there are still many other issues with the file:
- in the odt, there are 10 frames and 22 images, after RTF roundtrip this changes to 5 frames and 17 images. Before the above change, there were 0 frames, so an improvement there.
- the frames "Paléogénét 1"/2/3 are linked together in odt into a Sequence, after roundtrip the first keeps its text content, but the rest are lost, including the frames and images missing from the total number above.
Let's refocus this bug on saving these mostly properly, as this is data loss.
- red text color, small cap, bold paragraph formatting from the "Qu’est-ce que l’ADN ?" paragraphs "Heading 2" style leaks as DF into the subsequent text - this is the non-lost part of the "Paléogénét 1" frame
- The "La paléogénétique" paragraph seems to get the "Keep with next paragraph" text flow setting enabled, making it appear below the "Paléogénét 1" frame
- Drop cap setting is lost from the "La recherche de nos origines et de l'histoire de Néandertal" sentence
- the "Titre 1 avec saut de page" para style should have inherited a 0.55 cm "Spacing below" from "Heading 1", but this is zeroed out. Heading 1 keeps its 0.55 cm "Spacing below" correctly after the RTF roundtrip.

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 5913201efff027e683b2ff15349943d99b726414
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded