Bug 132495 - Version 6.3.5.2: Percentage not shown properly in Calc charts
Summary: Version 6.3.5.2: Percentage not shown properly in Calc charts
Status: RESOLVED DUPLICATE of bug 131115
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2020-04-28 16:13 UTC by emaildimariorossi
Modified: 2020-05-04 09:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emaildimariorossi 2020-04-28 16:13:39 UTC
Description:
drawing a chart from data in Calc, it's impossible to show the decimals of the percentage, even if the proper decimal format is selected

Steps to Reproduce:
1.create a Calc file with numeric data
2.click on Insert chart
3.Create Chart (e.g. pie chart)
4.Right-click on the chart -> Insert Data labels
5.Right-click on data labels -> Format data labels -> Data Labels -> put the check mark on "Show value as percentage"-> open "percentage format" -> deselect "source format"-> choose category "percent" & format 12,95% (or create another format with one or more digits after decimal dot or comma ).


Actual Results:
The percentage shown will anyway be approximated to the integer. (e.g. 19% instead of 18.68% or 18.7%)

Expected Results:
The percentage will be shown with decimal separator and one or more digits after it


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.5.2
Build ID: 1:6.3.5-0ubuntu0.19.10.1
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: it-IT (it_IT.UTF-8); UI-Language: en-GB
Calc: threadedVersion: 6.3.5.2
Build ID: 1:6.3.5-0ubuntu0.19.10.1
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: it-IT (it_IT.UTF-8); UI-Language: en-GB
Calc: threaded

[Information automatically included from LibreOffice]
Locale: it
Module: ChartDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Aron Budea 2020-04-29 01:50:49 UTC
I can confirm the bug in 6.3.5.2, but not in 6.4 or master, thus closing as WORKSFORME.
Since this is a stable branch, it'd be good to identify the causing commit, and either revert it in libreoffice-6-3, or backport the other commits that make it work in the newer versions.

Balazs, I can recall you had a couple of fixes in the area, and I'm suspecting the following commit (needs confirmation):
https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-6-3&id=d979eb16b9144c7ed230d7b0a4d0c1474664d7d0
Comment 2 Aron Budea 2020-05-02 02:28:30 UTC
There's good chance this is also fixed in the freshly released 6.3.6 update.
Comment 3 Xisco Faulí 2020-05-04 09:09:39 UTC
I think this is a duplicate of bug 131115

*** This bug has been marked as a duplicate of bug 131115 ***