Bug 115168 - Legend not displayed when creating a pie chart with only two cells
Summary: Legend not displayed when creating a pie chart with only two cells
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.2.8.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart-Legends Pie-and-Donut
  Show dependency treegraph
 
Reported: 2018-01-23 10:51 UTC by Yassine Chaouche
Modified: 2024-10-15 21:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
printscreen (22.61 KB, image/png)
2018-01-23 19:20 UTC, raal
Details
Screenshot from current master (111.36 KB, image/png)
2020-03-12 06:42 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yassine Chaouche 2018-01-23 10:51:15 UTC
Description:
To reproduce this bug : 
in A1, type A
in A2, type 1

Select A1 and A2, then create a pie chart. Leave all defaults (display legend at the right).

Desired result
--------------
pie chart with legends and chart correctly displayed

Actual result
-------------
An empty, blank legend covers the chart, which is the combination of 4 problems actually : 

1. Position : the legend isn't where it should be (on the right by default)
2. Size : the legend is too big
3. SIze : it is in fact so big that the pie chart can't be seen
3. Content : the legend is blank




Steps to Reproduce:
To reproduce this bug : 
in A1, type A
in A2, type 1

Select A1 and A2, then create a pie chart. Leave all defaults (display legend at the right).

Actual Results:  
An empty, blank legend covers the chart, which is the combination of 4 problems actually : 

1. Position : the legend isn't where it should be (on the right by default)
2. Size : the legend is too big
3. SIze : it is in fact so big that the pie chart can't be seen
3. Content : the legend is blank

Expected Results:
Pie chart with legends and chart correctly displayed


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Yassine Chaouche 2018-01-23 10:53:59 UTC
Screencast available here : https://vimeo.com/252308142

Users have reported the same for libreoffice 6.
Comment 2 raal 2018-01-23 19:20:58 UTC
Created attachment 139305 [details]
printscreen

No repro with Version: 6.1.0.0.alpha0+
Build ID: 3d30a39ee92678f6a4e71bd450fc044636adedab
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 

Seems to be fixed in dev version. Please could you test with dev version?
http://dev-builds.libreoffice.org/daily/master/
Thank you
Comment 3 Yassine Chaouche 2018-01-24 08:36:31 UTC
Sorry the steps to reproduce were wrong. Instead of :

in A1, type A
in A2, type 1

It should be : 

in A1, type A
in B1, type 1

Then procede with creating a pie chart off A1 and B1.

Sorry for misleading instructions.
Yassine.
Comment 4 raal 2018-01-24 19:32:57 UTC
I can confirm with Version: 6.1.0.0.alpha0+
Build ID: 3d30a39ee92678f6a4e71bd450fc044636adedab
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;
Comment 5 QA Administrators 2019-01-25 03:49:00 UTC Comment hidden (obsolete)
Comment 6 Yassine Chaouche 2019-01-27 10:19:33 UTC
Bug persists in 6.1



Version: 6.1.4.2
Build ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: kde4; 
Locale: fr-FR (en_US.UTF-8); Calc: CL


Screencast : https://vimeo.com/313628909
Comment 7 Gabor Kelemen (allotropia) 2020-03-12 06:42:51 UTC
Created attachment 158640 [details]
Screenshot from current master

Much better in bibisect-linux-64-6.5 :


Version: 7.0.0.0.alpha0+
Build ID: a11c10a83f6fceae6cfb519725d06f8eaf1013fb
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: hu-HU (hu_HU.UTF-8); UI-Language: en-US
Calc: threaded

One problem remains: there is no legend entry when there is only one data point. Other chart types have legend entry with the same data range (except Stock, interestingly).
Comment 8 QA Administrators 2022-03-13 03:36:28 UTC Comment hidden (obsolete)
Comment 9 Yassine Chaouche 2022-03-13 11:54:18 UTC
Hello all,

Bug is still present in 7.3.1.3. Pie chart displays correctly, but still no legend is added. See screenshot : https://i.imgur.com/qhX30hD.png
Comment 10 Yassine Chaouche 2022-03-13 11:55:38 UTC
Sorry forgot to add relevant info from help :

Version: 7.3.1.3 / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: x11
Locale: fr-FR (en_US.UTF-8); UI: en-US
Calc: CL
Comment 11 QA Administrators 2024-03-13 03:15:56 UTC
Dear Yassine Chaouche,

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