Bug 170215 - Charts changed dramatically after supporting 1904 null date
Summary: Charts changed dramatically after supporting 1904 null date
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, filter:docx, regression
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2026-01-03 17:50 UTC by Justin L
Modified: 2026-01-03 17:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
fdo75420-1.docx_mso.pdf: how the document looks in MS Word 2019 - lots of charts (1.04 MB, application/pdf)
2026-01-03 17:52 UTC, Justin L
Details
166preCommit.pdf: How it looks in LO before moggi's patch (156.82 KB, application/pdf)
2026-01-03 17:53 UTC, Justin L
Details
166postCommit.pdf: How it looks in LO after moggi's patch (158.18 KB, application/pdf)
2026-01-03 17:53 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2026-01-03 17:50:52 UTC
Some charts seem to laid out dramatically differently
after 25.8.0 commit 33f644074e498336d97a881be903662c9a6abedf
Author: Markus Mohrhard on Mon Jul 14 21:02:39 2025 +0800
    OOXML handling of 1904 null date for charts with internal data provider
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187835

Steps to reproduce:
-open attachment 94631 [details] (166.docx) from bug 75420

on page 5, the chart no longer takes up the width of the page, the title text is squeezed, and the bottom legend is displaced. This particular chart looks worse overall.

on page 9, the top chart's title "Occupied Days" has moved into the line graph. In general, however, this particular chart seems to have an improved layout.

Also seen with:
-fdo40594-7 chart shifted and legend offset/hidden. attachment 94136 [details] (Demo-Hayden-Management-v2-chart.docx)
-fdo75309-1 much taller - legend shifted. attachment 94492 [details] (test-import.docx)

Marking as a regression, but not assigning blame because I expect it has just exposed some existing limitations or bugs.
Comment 1 Justin L 2026-01-03 17:52:04 UTC
Created attachment 204907 [details]
fdo75420-1.docx_mso.pdf: how the document looks in MS Word 2019 - lots of charts
Comment 2 Justin L 2026-01-03 17:53:15 UTC
Created attachment 204908 [details]
166preCommit.pdf: How it looks in LO before moggi's patch
Comment 3 Justin L 2026-01-03 17:53:54 UTC
Created attachment 204909 [details]
166postCommit.pdf: How it looks in LO after moggi's patch