Bug 147483 - FILEOPEN DOCX Writer is unable to read image part of grouped shape anchored in floating table
Summary: FILEOPEN DOCX Writer is unable to read image part of grouped shape anchored i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2022-02-17 07:09 UTC by NISZ LibreOffice Team
Modified: 2025-09-22 03:11 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer unable to read nested floating table/ group textbox in floating table. (23.78 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-02-17 07:12 UTC, NISZ LibreOffice Team
Details
The example file in Word 2016 and Writer (140.78 KB, image/png)
2023-09-05 00:38 UTC, Gabor Kelemen (Collabora)
Details
modified example file from Word 2016 (25.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-09-22 12:02 UTC, Gabor Kelemen (Collabora)
Details
The modified example file in Word and Writer (126.82 KB, image/png)
2023-09-22 12:03 UTC, Gabor Kelemen (Collabora)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2022-02-17 07:09:17 UTC
Description:
Writer unable to read nested floating table/ group textbox in floating table.

The problem likely in the document model (structure, nodes) because when writer tries to convert the nested frame (floating table or textbox) it throws an exception and that goes wrong. So when a SwTextFrame inside other and that have to be processed on opening that has this problem. Many tickets affected by this issue. 


Steps to Reproduce:
1.Open attachment


Actual Results:
The table is wrong position, and the group textbox has missing content

Expected Results:
The table is in the correct position and the contents are displayed in the group text box.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 11a3e5707d6b524728b24e170eb542bba273d811
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 1 NISZ LibreOffice Team 2022-02-17 07:12:28 UTC
Created attachment 178337 [details]
Writer unable to read nested floating table/ group textbox in floating table.
Comment 2 Ezinne 2022-02-23 06:40:02 UTC
Reprpducible in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: b965efc0ab5d6996417c92b5588e9d1ff79e0572
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Roman Kuznetsov 2023-04-22 09:05:42 UTC
Still repro in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 4 Gabor Kelemen (Collabora) 2023-09-05 00:38:51 UTC
Created attachment 189355 [details]
The example file in Word 2016 and Writer

Now this looks kinda okay, except for the image inside of the group, which is completely lost.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cc7d6211bc01e5ec84dbad542605d2e93dea925c
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 5 Gabor Kelemen (Collabora) 2023-09-22 12:02:36 UTC
Created attachment 189756 [details]
modified example file from Word 2016

Changed the example file a bit: if the grouped shape is anchored outside of the floating table, the image is visible.
If it is anchored inside the floating table, only the shapes appear.
Comment 6 Gabor Kelemen (Collabora) 2023-09-22 12:03:05 UTC
Created attachment 189757 [details]
The modified example file in Word and Writer
Comment 7 Gabor Kelemen (Collabora) 2023-09-22 12:28:23 UTC
The image in the outside of table anchored GS started to show up in 7.4 with:

https://git.libreoffice.org/core/+/121cbc250b36290f0f8c7265fea57256dad69553

author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Thu Nov 11 14:02:12 2021 +0100
committer	László Németh <nemeth@numbertext.org>	Thu Jan 06 10:41:32 2022 +0100

tdf#66039 DOCX: import textboxes (with tables, images etc.) in group shapes

Maybe this gives a hint.
Comment 8 QA Administrators 2025-09-22 03:11:52 UTC
Dear NISZ LibreOffice Team,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug