Bug 160175 - Selecting multiple charts in Calc and pasting them into Impress is broken
Summary: Selecting multiple charts in Calc and pasting them into Impress is broken
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2024-03-13 07:21 UTC by Andreas
Modified: 2024-10-29 08:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2024-03-13 07:21:14 UTC
Description:
Selecting multiple charts (e.g. 3 bar charts) using Shift-Click in Calc, pressing Ctrl-C, switching to Impress and pressing Ctrl-V results in 3 empty frames. When using Paste Special or Shift-Ctrl-V and selecting "Libre Office 7.6 Spreadsheet", then the 3 charts are pasted visible, but unified into one object that cannot be separated. When using Paste Special + "LibreOffice Drawing Format" the same as with Ctrl-V happens.

Steps to Reproduce:
1.Select more than 1 chart in Calc and press Ctrl-C.
2.Switch to Impress and press Ctrl-V.
3. Alternatively: Switch to Impress and press Shift-Ctrl-V + select "LibreOffice Drawing Format".

Actual Results:
When Ctrl-V: Results in multiple invisible and probably empty objects (not chart objects).
When Shift-Ctrl-V + "LibreOffice Drawing Format": Same as Ctrl-V.
When Shift-Ctrl-V + "LibreOffice 7.6 Spreadsheet": Results in single pasted object showing all copied charts, but they cannot be separated from each other.

Expected Results:
When pressing Ctrl-V separate and visible chart objects are expected. This was the former behaviour. I cannot reproduce, what happend formerly using the Shift-Ctrl-V + "LibreOffice 7.6 Spreadsheet" format, so this might be the same behaviour as before (althought funny to get a single object).


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I am using latest Fedora Linux release with Gnome + Wayland.
Comment 1 Mike Kaganski 2024-03-13 07:54:12 UTC
Repro using Version: 24.2.2.1 (X86_64) / LibreOffice Community
Build ID: bf759d854b5ab45b6ef0bfd22e51c6dc4fb8b882
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

and current master.
Comment 2 Mike Kaganski 2024-03-13 09:50:01 UTC
Worked fine in Version: 6.0.0.3 (x64)
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 24; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL
Comment 3 Stéphane Guillou (stragu) 2024-03-13 14:43:51 UTC
Bibisected with linux-64-7.6 repo to first bad build [9c499a5e12e4ebd71549d1ee4cb8b9da670e2610] which points to:

commit 685a864cfc40227559ed55f6273fd118174e8e6e
author	Maxim Monastirsky 	Sun Mar 26 22:23:52 2023 +0300
committer	Maxim Monastirsky 	Thu Mar 30 22:43:23 2023 +0000
sc drawstyles: Clipboard support
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149753

Maxim, can you please have a look?
Comment 4 Andreas 2024-10-29 08:45:25 UTC
I am meanwhile in this version:

Version: 24.2.6.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: de-CH (en_US.UTF-8); UI: en-US
Calc: threaded

still in Wayland, but the bug is still present.

If two or more charts have to be copied to an Impress slide (which unfortunately I have to do often), the productivity is really bad, if copying/pasting is limited to a single chart.

It would be fantastic, if this bug could resolved within one of the next updates. Thank you for the good work!