Bug 66327

Summary: Pie chart with gaps between cells shrinks size after exiting editing
Product: LibreOffice Reporter: mal <malcolm>
Component: ChartAssignee: Muthu <muthu.subramanian.karunanidhi>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: medium CC: jmadero.dev, quikee
Version: 4.0.0.3 release   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=65765
Whiteboard:
i915 platform: i915 features:
Attachments: Vanilla 4.1 RC1 whilst editing
Vanilla 4.1 RC1 after editing
Attachement vanilla 4.2 b2

Description mal 2013-06-28 14:44:02 UTC
If you create a pie chart from cells that are not next to each other
the chart shrinks down to a tiny size when you stop editing it. 

Double click on the chart to edit it and it pops back up to it's normal size

Other chart types don't seem to be effected

openSuse 12.3 and 12.2 
LO 4.0.3 and 4.1 RC1
Comment 1 Michael 2013-07-02 10:34:37 UTC
Hi,

thanks for reporting.
I tried to reproduce it with LO 4.1.0.1 on Ubuntu 13.04 as you described but the pie chart does not shrink when stopping to edit it here.
Can you attach an example document to this bug report so that we can look into it?

Setting the bug to needinfo for now.
Comment 2 mal 2013-07-02 10:45:21 UTC
Maybe it only happens on open/Suse I haven't got anything else to test it on

see

https://bugzilla.novell.com/show_bug.cgi?id=827332

I put the bug there as well as I wasn't sure who I should report it to.
Another poster put a picture of what happens 

M
Comment 3 mal 2013-07-02 17:58:56 UTC
Created attachment 81899 [details]
Vanilla 4.1 RC1 whilst editing

This is on openSuse 12.3 KDE 4.10.5
Comment 4 mal 2013-07-02 17:59:45 UTC
Created attachment 81900 [details]
Vanilla 4.1 RC1 after editing
Comment 5 Michael 2013-07-03 04:17:45 UTC
Hi,

I can now reproduce this bug. As soon as you use labels as well it does not shrink. That is why I missed it earlier, sorry for this.

Reproduced with LO 4.1.0.1 on OSX 10.8.4 so setting platform to all.
Earliest LO version tested with this bug 4.0.0.3 so setting version to this.

Not reproducible with LO 3.6.7.1
Comment 6 Tomaz Vajngerl 2013-07-03 07:51:45 UTC
Usually if the chart shrinks means that an exception occurred somewhere in chart code. In this case also the legend is not drawn, which looks to me that the code exited before getting to the legend drawing code. Looks like pie chart can not handle non-continuous data ranges well.
Comment 7 Muthu 2013-07-25 10:11:29 UTC
Fixed this as 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=1543cf5eb67810108e87e8ea73f08d51223a9957

Please test this on nightly builds
Comment 8 Michael 2013-08-11 15:40:01 UTC
Confirmed that it is fixed with:
4.2.0.0.alpha0+
Build ID: fe842b034fb5f9b3a8444f66cc51f12464444ca9

Thanks.
Comment 9 mal 2013-12-18 14:47:37 UTC
This seems to be back with 4.2 beta 2
Comment 10 mal 2013-12-18 14:48:52 UTC
Created attachment 90930 [details]
Attachement vanilla 4.2 b2
Comment 11 Muthu 2013-12-18 15:00:51 UTC
Looks like a missing chart - a different bug or a regression, I am assuming.
[I can confirm that the chart is missing for me though - all the pie chart types]
Comment 12 mal 2013-12-18 15:03:29 UTC
I have a similar one in bug 72559 
Are they related ?
Comment 13 Muthu 2013-12-19 10:27:22 UTC
yes, that would be the problem.
I would suggest leaving this fixed and waiting for bug 72559 to get fixed before reopening (or working on) this one.

(In reply to comment #12)
> I have a similar one in bug 72559 
> Are they related ?
Comment 14 Joel Madero 2014-11-06 16:18:20 UTC
Setting to ASSIGNED as that seems more appropriate. REOPENED means that the bug was claimed FIXED at some point - that's not the case here.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.