Bug 161229 - Different split of slices between main chart and subchart in imported OOXML pie-of-pie chart
Summary: Different split of slices between main chart and subchart in imported OOXML p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ooxml, implementationError
Depends on:
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2024-05-23 09:08 UTC by Mihai Vasiliu
Modified: 2024-06-07 12:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example file (54.55 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-05-23 09:09 UTC, Mihai Vasiliu
Details
slide 1 as shown in MS Office (65.13 KB, image/png)
2024-05-23 09:09 UTC, Mihai Vasiliu
Details
slide 2 as shown in MS Office (80.78 KB, image/png)
2024-05-23 09:09 UTC, Mihai Vasiliu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Vasiliu 2024-05-23 09:08:49 UTC
Description:
Opening a chart created in MS Office with 2 slices in the large pie and the rest in the smaller pie, results in the smaller pie having exaclty 3 slices and the rest being in the large pie.

Steps to Reproduce:
1. Open attached pptx file.
2. Look at the two slides.

Actual Results:
The large Pie has more than 2 slices

Expected Results:
The large pie should have exactly 2 slices, as shown in the attached screenshots (from MS Office).


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.0.0.alpha1 (X86_64) / LibreOffice Community
Build ID: a17e39caaf73108bee692d6f64a44c62f4066f1d
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded
Comment 1 Mihai Vasiliu 2024-05-23 09:09:10 UTC
Created attachment 194293 [details]
example file
Comment 2 Mihai Vasiliu 2024-05-23 09:09:21 UTC
Created attachment 194294 [details]
slide 1 as shown in MS Office
Comment 3 Mihai Vasiliu 2024-05-23 09:09:30 UTC
Created attachment 194295 [details]
slide 2 as shown in MS Office
Comment 4 Stéphane Guillou (stragu) 2024-06-07 12:08:42 UTC
Reproduced in:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1f15d097cace14ca6e44e7652f460aa3fa7bd150
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

See also Kurt's comment:

(In reply to kurt.nordback@protonmail.com from bug 50934 comment #21)
> Note [...] that my code allots the last three values to the
> right (sub-) chart, whereas Excel by default allots the last two. I just
> thought three looked better but it's easy to change. In the long term this
> should be a selectable parameter.

The enhancement request a control for how many values go to the subchart is bug 161090.