Created attachment 171476 [details] Demo-Hayden-Management-3Dbarchart.docx This is minimized from bug #67339 example file. The 3D bar charts date axis format changed recently from years to something else. Steps to reproduce: 1. Open attached file Actual results: Bar charts axis label format is not years. Expected results: Axis unit is years. LibreOffice details: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: eeb2854e085fdd9f7a38d6e952a8aedf43e90323 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL Not yet in Version: 7.1.3.0.0+ (x64) / LibreOffice Community Build ID: 296c1b3b7e2fca6d54e3e61684d70d12f7989624 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Additional Information: Bibisected using bibisect-win64-7.2 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=4b92707c19ef47cdb9474224e83e5153c54b661d author Andras Timar <andras.timar@collabora.com> 2021-02-09 12:00:45 +0100 committer Andras Timar <andras.timar@collabora.com> 2021-02-10 10:03:10 +0100 Fix chart label import, use the locale as MS Office does Adding CC to: Andras Timar
Created attachment 171477 [details] Screenshot of the original document side by side in Word and Writer
I can't reproduce it in Version: 7.2.0.0.alpha0+ / LibreOffice Community Build ID: 1a99b4e44190e182d56a04678850d62635d74c65 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Axis units are years...
Win only ?
(In reply to Xisco Faulí from comment #3) > Win only ? Somewhat... it looks locale-independently bad on Win10 (at least on my Hungarian one), but locale-dependently on Linux: Good with Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: e8578423e9390a07419066d6c350c34fa254095d CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: en-US (hu_HU.UTF-8); UI: en-US Calc: threaded (custom build from a few weeks ago) But not with Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: e8578423e9390a07419066d6c350c34fa254095d CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded
It is locale-dependent on Windows as well: Good on nightly: Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: en-US (hu_HU); UI: hu-HU Calc: CL Bad on the same with Hungarian locale: Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL
Sorry for the regression. I made the fix for a Turkish chart, where the labels contained month names, and the reference rendering showed Turkish month names, while LibreOffice displayed English month names. In this bug with the Hungarian locale we get weird date format. FWIW I tried a few other locales. E.g. Slovenian was bad, German and Italian were good. The string "i. sz." is coming from i18npool/source/localedata/data/hu_HU.xml, it is the Era "AD" -- Anno Domini a.k.a after Christ. The real question, I think, is that why this date format is picked up instead of the obvious YYYY.
Created attachment 173659 [details] Sample DOCX with simple chart It's fairly simple to create a document with a chart that shows buggy axis labels, I created a minimal chart in Excel, copy-pasted it to Word, and saved it as DOCX. What's interesting is that the chart in the XLSX is fine in Calc, only the chart in the DOCX has this bug.
Created attachment 173660 [details] Original XLSX with the same chart
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
This seems to be fixed in 7.3 (the example files look good even after a roundtrip, both in Writer and Word) since: https://git.libreoffice.org/core/+/f547cf17a179ebd7de5c2b4dd2d00d0027a25429 author Dennis Francis <dennisfrancis.in@gmail.com> Thu Sep 02 14:33:55 2021 +0530 committer Miklos Vajna <vmiklos@collabora.com> Mon Sep 06 08:47:50 2021 +0200 [API CHANGE] oox: fix import of chart date categories Thanks for fixing this :)