Bug 159253 - Not possible to change column headers in some charts created in Calc after pasting in Writer
Summary: Not possible to change column headers in some charts created in Calc after pa...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 06:41 UTC by andis.lazdins
Modified: 2024-01-19 00:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc file with charts for demonstration of the problem (103.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-18 06:42 UTC, andis.lazdins
Details
Writer file demonstrating the issue (63.37 KB, application/vnd.oasis.opendocument.text)
2024-01-18 06:44 UTC, andis.lazdins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andis.lazdins 2024-01-18 06:41:11 UTC
Description:
If chart is created in Calc and have vertical structure of headers appearing in legend, after pasting in Writer it is not possible to change column headers. Writing other header in data table results in old and new header appearing in legend. If column headers in Calc are arranged horizontally (in one row), this issue usually is not appearing; however, sometimes it happens also with horizontally arranged column headers.

Steps to Reproduce:
1. Open attached Calc file.
2. Copy Chart with "Horizontal" in title.
3. Create new Writer document and paste the copied chart into the file.
4. Double click on the chart to edit it.
5. Select View > Data table... and write something instead of the header Carbon in above ground living biomass.
6. Close Data table.

Actual Results:
Both, old and new titles are appearing in the legend.

Expected Results:
Only new title should appear.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
The problem repeats every time. Correct behavior can be reached if chart with title Vertical is pasted into writer. However, sometimes transposing is not solving this issue. This is issue inherited from previous versions of Libreoffice.
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: lv-LV (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 andis.lazdins 2024-01-18 06:42:10 UTC
Created attachment 192026 [details]
Calc file with charts for demonstration of the problem
Comment 2 andis.lazdins 2024-01-18 06:44:08 UTC
Created attachment 192027 [details]
Writer file demonstrating the issue

In this writer file examples of attempt to change legend in vertically and horizontally oriented data can be seen.
Comment 3 m_a_riosv 2024-01-19 00:34:36 UTC
Reproducible
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
and
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 83c1df8e524cc74c6d1afcadb3cccba5ef2eb123
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded