Bug 163156 - [OLE-Object-Interoperability] Copy-paste chart form Calc to Writer loses data-series names in legend
Summary: [OLE-Object-Interoperability] Copy-paste chart form Calc to Writer loses data...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Object-Interoperability Chart-Legends
  Show dependency treegraph
 
Reported: 2024-09-25 18:14 UTC by Piotr Osada
Modified: 2024-10-12 21:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Chart-background-labels.xlsx (25.80 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-09-25 18:26 UTC, Piotr Osada
Details
Resulting document (94.62 KB, application/vnd.oasis.opendocument.text)
2024-09-25 18:28 UTC, Piotr Osada
Details
Resulting PDF (201.23 KB, application/pdf)
2024-09-25 18:29 UTC, Piotr Osada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Osada 2024-09-25 18:14:40 UTC
Steps:
1) By LO Calc open Chart-background-labels.xlsx spreadsheet
2) Copy chart
3) Paste it into Writer document

Result:
Editable chart is pasted. However, the names of the second and subsequent data series are missing 
(20°C, Series2, Series3 displayed instead).


Expected result:
Editable chart is pasted and the series names are preserved 
(20°C, 50°C, 100°C).



Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded
Comment 1 Piotr Osada 2024-09-25 18:26:30 UTC
Created attachment 196689 [details]
Chart-background-labels.xlsx
Comment 2 Piotr Osada 2024-09-25 18:28:33 UTC
Created attachment 196690 [details]
Resulting document
Comment 3 Piotr Osada 2024-09-25 18:29:02 UTC
Created attachment 196691 [details]
Resulting PDF
Comment 4 Robert Großkopf 2024-10-10 19:12:17 UTC
First saved the xlsx-file as *.ods.
Then I closed LO and reopened.
Copied the chart from Calc.

Pasted it to Writer.
Only the first series name has been copied.
Next names will be named like "Series2" "Series3"…
You could set this names afterwords by changing the in datatable of Writer, but it should work directly.

By the way: Same buggy behavior when pasting the chart into Draw.

Tested with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Bug also exists in older versions like LO 7.4.7.2 on the same system.