Bug 153685 - Pasting Selected Range to Sheet as GDI Image, The chart images are gone.
Summary: Pasting Selected Range to Sheet as GDI Image, The chart images are gone.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Calc-Images
  Show dependency treegraph
 
Reported: 2023-02-17 10:19 UTC by nobu
Modified: 2023-09-06 21:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (103.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-02-17 10:20 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2023-02-17 10:19:53 UTC
Description:
Pasting Selected Range to Sheet as GDI Image, The chart images are gone.

Steps to Reproduce:
1. Open the sample file
2. Select and Copy just the cells within the red rectangle that has the caption "Copy Range."
3. Move to another cell.
4. From the Paste Icon dropdown in the toolbar, Select to paste using the GDI Metafile option.


Actual Results:
5. The chart image is paste as a blank.

Expected Results:
5. The image should be the same as the copy source.


Reproducible: Always


User Profile Reset: No

Additional Info:
Reproducible with Version 7.4.0.3 64bit, OS:Windows10 64bit
Reproducible with Version 7.5.0.3 64bit, OS:Windows10 64bit

Not Reproduced with before Version 7.4.0.0 alpha1 32bit, OS:Windows10 64bit
However, the chart image is incorrect.
Comment 1 nobu 2023-02-17 10:20:44 UTC
Created attachment 185428 [details]
sample file
Comment 2 Xisco Faulí 2023-02-17 11:03:48 UTC
Regression introduced by:

author	Mike Kaganski <mike.kaganski@collabora.com>	2022-05-16 09:03:03 +0300
committer	Mike Kaganski <mike.kaganski@collabora.com>	2022-05-17 06:15:48 +0200
commit 964e2eaae9d32df201574e6f083acc630fed2f1d (patch)
tree a4508d47247bd46ae3c317828e9832de3cf4ed8c
parent 5386e561204af47a7a5eac3e56850478980bbc15 (diff)
tdf#142635: use the same ScDocument for clipboard and GlobalDrawPersist

Bisected with: bibisect-linux64-7.4

Adding Cc: to Mike Kaganski