Bug 169874 - Cannot delete objects inside charts
Summary: Cannot delete objects inside charts
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2025-12-07 14:14 UTC by Heiko Tietze
Modified: 2025-12-09 09:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (30.09 KB, image/png)
2025-12-09 07:28 UTC, Saburo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2025-12-07 14:14:47 UTC
Copy/paste a data series inserts the object as image (expected a duplicate of the series but anyway). This object cannot be deleted nor cut. Same issue when pasting text copied from somewhere else, for example.

STR:
* create a chart for {1,2,3}
* copy/paste the data series
- try to delete
* copy text from the browser and paste into the chart
- try to delete

Actual result:
* nothing happens

Expected result:
* object is deleted on Del/Cut

Version: 25.8.3.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 32; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
25.8.3-2
Calc: threaded
Comment 1 Regina Henschel 2025-12-08 00:24:57 UTC
(In reply to Heiko Tietze from comment #0)
> Copy/paste a data series inserts the object as image (expected a duplicate
> of the series but anyway).

What do you mean by "Copy/paste a data series"?

A chart is an OLE object. For to copy the chart you select it e.g. by single click (it has 8 handles then but no border) and paste the clipboard at the destination. It is still a chart in the destination, only depending on the target it is based on a internal data table.

Thus, what are you doing?
Comment 2 Heiko Tietze 2025-12-08 10:02:42 UTC
(In reply to Regina Henschel from comment #1)
> What do you mean by "Copy/paste a data series"?
I never leave the chart editing mode. Select a series in a chart, and copy it. We could duplicate this series on paste (as I hoped) or insert the clipboard as bitmap as it happens.

Issue is that deleting the inserted object is not possible.
Comment 3 Regina Henschel 2025-12-08 12:51:29 UTC
It does not only effects copy/paste a chart internal object. If you paste a shape or an image into the chart object, it can neither be deleted.

It fails in Version: 25.8.3.1 (X86_64)
Build ID: 52ad9dd1c984050a9fb6932dbfb16e86a49e9758
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded

It was OK in Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 4 Saburo 2025-12-09 07:28:01 UTC
Created attachment 204515 [details]
screenshot

Is this it?
Comment 5 Saburo 2025-12-09 07:30:01 UTC
bibisected with linux-64-25.8
Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: de9093a10c0f805378bc5036c355e671cf1efcde

commit de9093a10c0f805378bc5036c355e671cf1efcde
author	Marco Cecchetti

chart color palette: assertion failure in getCID

***
adding CC: Marco Cecchetti
Please, take a look?
Comment 6 Heiko Tietze 2025-12-09 09:05:04 UTC
(In reply to Saburo from comment #4)
> Is this it?
Yes, but as Regina an me commented it affects all objects in a chart.