Bug 104344 - FILEOPEN DOCX: Multi-line chart title overlapped with legend
Summary: FILEOPEN DOCX: Multi-line chart title overlapped with legend
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2016-12-02 09:44 UTC by Telesto
Modified: 2020-04-15 10:43 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Chart in Word Viewer (60.95 KB, image/png)
2016-12-02 09:45 UTC, Telesto
Details
Screenshot of the chart in Word and Writer side by side (110.37 KB, image/png)
2018-12-11 15:56 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the chart in Word and Writer side by side (97.68 KB, image/png)
2020-04-15 10:37 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2016-12-02 09:44:07 UTC
Description:
The chart isn't rendered correctly


Steps to Reproduce:
1.Open attachment 125238 [details]
2.Go to page 39

Actual Results:  
Some elements are overlapping

Expected Results:
Same look as in Word viewer


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in:
Version: 5.4.0.0.alpha0+
Build ID: 4130c8def811d1dcc87eacaa8ae48ba02738a790
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-11-29_01:03:18
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2016-12-02 09:45:18 UTC
Created attachment 129232 [details]
Chart in Word Viewer
Comment 2 Buovjaga 2016-12-09 13:02:47 UTC
Confirmed. For me, it was on pg 40.
In old versions, 3.x, it is not shown at all.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha0+
Build ID: a564821eb9e991774195120e6965b2a8b1419dc5
CPU Threads: 8; OS Version: Linux 4.8; UI Render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on December 9th 2016
Comment 3 Xisco Faulí 2017-03-10 19:36:06 UTC
Confirmed in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 4 QA Administrators 2018-03-11 03:41:21 UTC Comment hidden (obsolete)
Comment 5 Gabor Kelemen (allotropia) 2018-12-11 15:56:03 UTC
Created attachment 147445 [details]
Screenshot of the chart in Word and Writer side by side

As of

Version: 6.3.0.0.alpha0+
Build ID: f3ea5e21bea80004b04edbf0287d4a2e1aaef5d0
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded

only the title and the legend are overlapping.
Comment 6 NISZ LibreOffice Team 2020-04-15 10:37:07 UTC
Created attachment 159572 [details]
Screenshot of the chart in Word and Writer side by side

The title and legend no longer seem to overlap in:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 94a7ceae287a7967e8f013d012673e26637c6bb5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Bibisection with bibisect-win64-6.4 showed this started to look like this after:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=48480d4f19d2fb92ca4ae0527eec4753cdc439c0

author	Noel Grandin <noel.grandin@collabora.co.uk>	2019-07-15 09:44:10 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2019-07-15 18:07:29 +0200

make tools::Rectangle::getBottom return 0 when empty
Comment 7 NISZ LibreOffice Team 2020-04-15 10:43:13 UTC
What's left is the axis title being shifted lower - bug #130587 and title text aligned left instead of center - bug #122014. 
But these are separate regressions, let's say the overlap problem is solved.