Bug 127586 - Part of legend is overlapping with the chart (comment 9)
Summary: Part of legend is overlapping with the chart (comment 9)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: OOXML-ComboChart
  Show dependency treegraph
 
Reported: 2019-09-17 04:26 UTC by mitsutakasato
Modified: 2026-01-17 21:37 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Original document (35.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-09-17 04:27 UTC, mitsutakasato
Details
Produced PDF by LO6.3.1 (63.03 KB, application/pdf)
2019-09-17 04:28 UTC, mitsutakasato
Details
Produced PDF by LO5.3.4 (62.71 KB, application/pdf)
2019-09-17 04:29 UTC, mitsutakasato
Details
Screenshot of the original document side by side in Word and Writer master (176.91 KB, image/png)
2019-11-07 10:40 UTC, NISZ LibreOffice Team
Details
tdf127586-1_bad.docx: round-tripped file reported as corrupt by MS Word (16.75 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-01-17 21:36 UTC, Justin L
Details
tdf127586-1_good.docx: for comparison - the file round-tripped before the chart could be seen (12.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2026-01-17 21:37 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitsutakasato 2019-09-17 04:26:27 UTC
Description:
When I converted MS word document to PDF with command line below:
xxxxxx/program/soffice.bin --convert-to pdf:writer_pdf_Export xxxxxxxx

Then I found half of a orange line in a graph disappeared (page3), which exists when I produced PDF with LO5.3.4.

I also opened this document with LO6.0(Ubuntu18.04) and found the same result.


Steps to Reproduce:
There are two ways to reproduce it.
[1]
1. Open attached word document with LO6.0
2. Half of orange line in a graph (page 3) is disappeared.

[2]
1. Convert attached word document with LO6.3.1
  xxxxxx/program/soffice.bin --convert-to pdf:writer_pdf_Export xxxxxxxx
2. Open a generated pdf

You can find this does not happen when you use LO5.3.4.




Actual Results:
Half of orange line in a graph (page 3) is disappeared.

Expected Results:
Orange line in a graph (page 3) is rendered correctly.



Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 mitsutakasato 2019-09-17 04:27:46 UTC
Created attachment 154208 [details]
Original document
Comment 2 mitsutakasato 2019-09-17 04:28:47 UTC
Created attachment 154209 [details]
Produced PDF by LO6.3.1
Comment 3 mitsutakasato 2019-09-17 04:29:21 UTC
Created attachment 154210 [details]
Produced PDF by LO5.3.4
Comment 4 Xisco Faulí 2019-10-03 10:48:18 UTC
Reproduced in

Version: 6.4.0.0.alpha0+
Build ID: c9336bfb6bbf6d73d3f23c124262ade30133448d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

the graph line is shifted to the left...
Comment 5 Xisco Faulí 2019-10-03 10:54:45 UTC
actually this is a regression from


author	Jean-Tiare Le Bigot <admin@jtlebi.fr>	2016-10-13 21:43:41 (GMT)
committer	Markus Mohrhard <markus.mohrhard@googlemail.com>	2016-11-06 06:02:27 (GMT)
commit 4bcf1872bbe9db1388769485a7e4c0cbcce3d53c (patch)
tree 0110875cf6db25b7208099e9394995254111b221
parent 17e9dc436bc6ad8d3a5bbde15d4d47262650aa2c (diff)

chartx: fix sparse chart import

Adding CC: to Jean-Tiare Le Bigot
Comment 6 Xisco Faulí 2019-10-03 10:56:28 UTC
@Balazs Varga, I thought you might be interested in this issue... regression from the same commit as bug 103963
Comment 7 Xisco Faulí 2019-10-14 13:58:36 UTC
Still reproducible in

Version: 6.4.0.0.alpha0+
Build ID: 9b5dad13b56bdde7c40970351af3da3a2c3c9350
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 NISZ LibreOffice Team 2019-11-07 10:40:28 UTC
Created attachment 155602 [details]
Screenshot of the original document side by side in Word and Writer master

In current Writer master this yellow line looks like in Word:

Version: 6.4.0.0.alpha1+ (x86)
Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

So half of it being gone can be considered normal.

If that is not desired, one can change the Data Series - Options - Plot Options to Assume Zero.

There are some other problems with this chart, like positioning / text wrapping (bug #104703 and its friends) and no option for legend not overlap the chart (bug #75330).
Also the data series represented by the grey area chart has different name in Word than in Writer (I'll file a new one about that).
Comment 9 Justin L 2022-03-03 17:26:24 UTC
So what is this bug report covering now?

(In reply to NISZ LibreOffice Team from comment #8)
> In current Writer master this yellow line looks like in Word:
Yeah, the entire bug report is a bit strange because even in Word 2003 the yellow line never dropped to the bottom, so why was the report created in the first place. NISZ usually uses a fairly recent version of Word, so I assume this has been true for modern Word as well. 

> legend not overlapping the chart (bug #75330).
I guess we can leave this report open to take care of this. Although the legend now is not overlapping the last line, a large portion is still overlapped.
Comment 10 Justin L 2023-06-14 19:48:17 UTC
repro 24.2+
Comment 11 QA Administrators 2025-06-14 03:13:22 UTC Comment hidden (obsolete, spam)
Comment 12 Justin L 2025-09-19 13:13:21 UTC
repro 26.2+: the legend is still overlapping the graph.
Comment 13 Justin L 2026-01-17 21:36:53 UTC
Created attachment 205073 [details]
tdf127586-1_bad.docx: round-tripped file reported as corrupt by MS Word

Although no one has mentioned it here, when LO saves this file, it is no longer able to be opened in MS Word.

That has been true ever since the chart has been showing - since LO 4.2
Somewhere between git log 1a4258667ecd76cebc823994fd..862766d569e51d91c111
the chart1.xml started showing up, and since then it is reported as corrupt.
Comment 14 Justin L 2026-01-17 21:37:47 UTC
Created attachment 205074 [details]
tdf127586-1_good.docx: for comparison - the file round-tripped before the chart could be seen