Bug 168850 - In the second sheet, pasting range in PNG or BMP, image without sparklines will be pasted
Summary: In the second sheet, pasting range in PNG or BMP, image without sparklines wi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Paste Sparklines
  Show dependency treegraph
 
Reported: 2025-10-14 13:43 UTC by nobu
Modified: 2025-10-17 04:01 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 nobu 2025-10-14 13:43:32 UTC
Description:
In the second sheet, pasting range in PNG or BMP, image without sparklines will be pasted.

Steps to Reproduce:
1. Open new Calc.
2. Create 2nd sheet.
3. Input [1, 2] into Cells [A1, A2] in 2nd sheet.
4. Insert sparklines into Cell [A3] Based on the range.
5. Copy Clipboard cell range [A1:A3].
6. Select other Cell.
7. Paste Image in PNG or BMP using Paste-Dropdown-Icon.

Actual Results:
8. An image without sparklines will be pasted.

Expected Results:
8. An image with both data and sparklines is pasted.


Reproducible: Always


User Profile Reset: No

Additional Info:

Not reproducible
Version: 25.2.7.1 (X86_64) / LibreOffice Community
Build ID: 16e8e36d1610f10597ed778c3dcb0a5aa0ed5d6f
CPU threads: 4; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

===

Reproducible
Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-10-13]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d60ff8c8bd4e3ebf8f84f53448ead3c838332ea9
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded

Reproducible
[2025-10-10]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3b0ea28e061f9335b907ae8febfadf8fc04c599b
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 1 Saburo 2025-10-16 04:23:05 UTC
Reproduce
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3b0ea28e061f9335b907ae8febfadf8fc04c599b
CPU threads: 2; OS: Linux 6.16; UI render: default; VCL: kf5 (cairo+wayland)
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded

works fine b4460d983401e0b5962f71159016209e2d74d095
clipboard error d8ab8992bd35aedfc1d2b0debebab0d623aa8d09..1f17dd388d8f66200ca85513e161eb403f6f8667
png white 63597069fbb3209db1b4acd3c3e85b512b5d717c..8b2b75106147d0c2499283059286914ac037aa2d

without sparkline
first bad
commit 671564bce4541244ad3d67b5b98899321176231e
author	Xisco Fauli <xiscofauli@libreoffice.org>	Tue Aug 12 15:59:09 2025 +0200

tdf#167075: init doc shell before pasting as png/bmp (take 2)

***
adding CC: Xisco Fauli
Please, take a look?