Bug 133632 - FILEOPEN DOCX Pie chart label formatted as percentage format becomes number formatted
Summary: FILEOPEN DOCX Pie chart label formatted as percentage format becomes number f...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Balázs Varga
URL:
Whiteboard: target:7.1.0 target:7.0.0.1
Keywords: bibisected, bisected, regression
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2020-06-03 11:42 UTC by NISZ LibreOffice Team
Modified: 2020-06-16 11:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (13.67 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-06-03 11:42 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (112.50 KB, image/png)
2020-06-03 11:42 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-06-03 11:42:21 UTC
Created attachment 161568 [details]
Example file from Word

Attached document is minimized from bug #99822 and contains a pie chart with data labels formatted as percentage.

Steps to reproduce:
    1. Open attached document

Actual results:
Pie chart labels are numbers.

Expected results:
Labels should be percentages.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 68095e63a8ad8f6079b15e475179a14a64da36d3
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL


Bibisected using bibisect-win64-6.5 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=e0da00d655ecca5986eea3812a8a670c6adbc40f
author	Balazs Varga <balazs.varga991@gmail.com>	2020-04-22 14:41:49 +0200
committer	László Németh <nemeth@numbertext.org>	2020-04-24 15:59:41 +0200

tdf#132174 Chart DOCX import: fix label number format

Adding CC to: Balázs Varga
Comment 1 NISZ LibreOffice Team 2020-06-03 11:42:50 UTC
Created attachment 161569 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Xisco Faulí 2020-06-03 12:11:04 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 8d0b7e5b2f6773f4b3feb75f1ac73ea1a26609f7
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2020-06-10 09:27:56 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0c0f4b1531e2e985bd53e8c551328f46bde0c8c9

tdf#133632 Chart DOCX Import: fix percentage number format

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Xisco Faulí 2020-06-16 11:37:44 UTC
Verified in

Version: 7.1.0.0.alpha0+
Build ID: 11d21b3c1f7754b5d13ae9ea88da562ec74366ff
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Balazs Varga, thanks for fixing this issue!
Comment 5 Commit Notification 2020-06-16 11:39:34 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/8da86149f3b7a04fb3a442e6f8733ba463945a57

tdf#133632 Chart DOCX Import: fix percentage number format

It will be available in 7.0.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.