Bug 158448 - FILEOPEN: DOCX Charts broken in tables when table properties is set to text wrapping around - Bug in 7.5.8.2 and 7.6.0.1 and 7.6.3.2
Summary: FILEOPEN: DOCX Charts broken in tables when table properties is set to text w...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Floatingtable
  Show dependency treegraph
 
Reported: 2023-11-29 22:17 UTC by david
Modified: 2024-01-04 08:40 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX file with a chart inside a table with text wrapping around (26.28 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-11-29 22:19 UTC, david
Details
Screenshot with the bug visible in LibreOffice vs MS Word (1.04 MB, image/png)
2023-11-29 22:21 UTC, david
Details
Screenshot with workaround to avoid the bug (1.04 MB, image/png)
2023-11-29 22:22 UTC, david
Details
Screenshot Writer vs Word (160.55 KB, image/png)
2023-11-29 22:35 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david 2023-11-29 22:17:23 UTC
Description:
Hello,

Charts are broken in DOCX file when the chart is placed inside tables with table properties (Text Wrapping -> Around).

Also, if there are three charts on the page in the same table, LibreOffice can show charts but not the right one at the right place.

If we change the table properties to Text Wrapping to None, it works as expected.

The bug exists in 7.5.8.2 and 7.6.0.1 and 7.6.3.2.

See attached file.
Thank you.

Steps to Reproduce:
1. open a new DOCX file with Microsoft Word (last version)
2. create a 1x1 table with table properties : Text Wrapping -> "Around"
3. insert a chart inside the cell
4. save the file
5. open the file with LibreOffice


Actual Results:
A big green icon with a red text "Object 2" is visible instead of showing the chart

Expected Results:
The chart should be visible like in Microsoft Word


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 10; OS: Mac OS X 12.7.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 david 2023-11-29 22:19:37 UTC
Created attachment 191125 [details]
DOCX file with a chart inside a table with text wrapping around
Comment 2 david 2023-11-29 22:21:23 UTC
Created attachment 191126 [details]
Screenshot with the bug visible in LibreOffice vs MS Word
Comment 3 david 2023-11-29 22:22:43 UTC
Created attachment 191127 [details]
Screenshot with workaround to avoid the bug
Comment 4 m_a_riosv 2023-11-29 22:35:50 UTC
Created attachment 191128 [details]
Screenshot Writer vs Word

Sorry, maybe it's there, but I don't see the difference.
Microsoft® Word para Microsoft 365 MSO (versión 2310 compilación 16.0.16924.20054) de 64 bits 
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en- Calc: CL threaded
Comment 5 david 2023-11-29 23:10:01 UTC
> Sorry, maybe it's there, but I don't see the difference.

Ok the issue happens only on Linux (Ubuntu, Headless) and Mac OS.

It doesn't happen on Windows (tested also on my side with 6.3.4.2 and 7.5.8.2)
Comment 6 Xisco Faulí 2023-11-30 08:35:53 UTC
Reproduced in

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11; 
Locale: es-ES (es_ES.UTF-8); Calc: group threaded

so it seems it didn't work in linux before ?
Comment 7 Gabor Kelemen (allotropia) 2023-12-01 14:33:25 UTC
This seems to started working under Windows in 5.0. Bibisect shows this range:

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=8ec545531992251d3670c1bd3b1d1e0c9c998db0..9cd0fdc90983a4c8856762da7ae3948bfb8e7969