Bug 168533 - RTF import: some paragraphs appear outside of their frames
Summary: RTF import: some paragraphs appear outside of their frames
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: Mike Kaganski
URL:
Whiteboard: target:26.2.0 target:25.8.3
Keywords: filter:rtf
Depends on:
Blocks: RTF-Frame
  Show dependency treegraph
 
Reported: 2025-09-24 09:40 UTC by Mike Kaganski
Modified: 2025-09-26 03:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
\pard inside frames (218 bytes, application/rtf)
2025-09-24 09:40 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2025-09-24 09:40:26 UTC
Created attachment 202947 [details]
\pard inside frames

The attachment has two frames, the first one is expected to have a single paragraph (and the second paragraph immediately after that must appear outside), and the second frame must include two paragraphs. This is what Word does.

In LibreOffice, both frames have one paragraph, and the following paragraphs are shown outside the frames.
Comment 1 Mike Kaganski 2025-09-24 10:47:36 UTC
https://gerrit.libreoffice.org/c/core/+/191439
Comment 2 Commit Notification 2025-09-24 14:16:40 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/202d41e0fb2432ca286953d5f7464289fcb52e30

tdf#168533: make sure to emit frame properties, when they changed

It will be available in 26.2.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 3 Commit Notification 2025-09-25 09:20:55 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/8566b6167c5f788bf5849a461e4a52f66b6e3682

tdf#168533: make sure to emit frame properties, when they changed

It will be available in 25.8.3.

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.