Bug 156350 - docx floating table has suspicious additional frame after converting to odt
Summary: docx floating table has suspicious additional frame after converting to odt
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Miklos Vajna
URL:
Whiteboard: target:24.2.0 target:7.6.1
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 11:40 UTC by Regina Henschel
Modified: 2023-08-02 06:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
floating table which spans two pages (18.40 KB, application/zip)
2023-07-18 11:40 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-07-18 11:40:09 UTC
Created attachment 188432 [details]
floating table which spans two pages

Open attached document. It has a floating table which spans two pages.
Open the Navigator. You see "Table1" in Tables section and "Frame1" in Frames section.
Save the file to odt and reopen the odt file. 
Look in Navigator again. Now there is an addition "Frame11" entry in Frames.
Comment 1 Miklos Vajna 2023-07-18 12:44:48 UTC
Confirmed, this is an ODT export bug. The internal SwDoc::mpSpzFrameFormatTable only contains a single frame, but the ODT export result has two <draw:frame>, which is not expected.
Comment 2 Commit Notification 2023-07-31 19:48:25 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2b401b7c0322d9ff972d252208ebe9a77913778d

tdf#156350 sw floattable: fix bad additional <draw:frame> in ODT with layout

It will be available in 24.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 2023-08-02 06:11:44 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/140ebce3b81a09d163c34ae792d090154302c8e7

tdf#156350 sw floattable: fix bad additional <draw:frame> in ODT with layout

It will be available in 7.6.1.

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.