Bug 167900 - In 2nd sheet, Pasting a selection in PNG or BMP, Crash
Summary: In 2nd sheet, Pasting a selection in PNG or BMP, Crash
Status: RESOLVED DUPLICATE of bug 167901
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2025-08-11 09:27 UTC by nobu
Modified: 2025-08-11 15:39 UTC (History)
1 user (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-08-11 09:27:33 UTC
Description:
Crash when pasting a PNG or BMP selection onto a second or subsequent sheet.

Steps to Reproduce:
1. Open a new Calc.
2. Create 2nd sheet and select 2nd sheet.
3. Select Cell [A1] & Copy. (You do not need to type anything in cell A1)
4. Paste Image in PNG or BMP using Paste-Dropdown-Icon.

Actual Results:
5. Crash.

Expected Results:
5. Do not crash.


Reproducible: Always


User Profile Reset: No

Additional Info:

Bug reports that may be relevant.

Pasting a selection onto a sheet in PNG or BMP results in a blank image
https://bugs.documentfoundation.org/show_bug.cgi?id=167075

Crash quiting LibreOffice with something on the clipboard (Win)
https://bugs.documentfoundation.org/show_bug.cgi?id=166767

---
Reproducible with
Version: 25.8.0.3 (X86_64)
Build ID: ab0112984cb0c13cf3d4edd063593d096a42a1aa
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded
Comment 1 nobu 2025-08-11 09:41:20 UTC
Reproducible with
Version: 25.8.0.3 (X86_64)
Build ID: ab0112984cb0c13cf3d4edd063593d096a42a1aa
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 2 Xisco Faulí 2025-08-11 10:41:54 UTC
Regression introduced by:

commit eb99e28a92517cac9534a6a52b9266777f735ce5	[log]
author	Xisco Fauli <xiscofauli@libreoffice.org>	Fri Aug 08 13:34:54 2025 +0200
committer	Xisco Fauli <xiscofauli@libreoffice.org>	Fri Aug 08 16:27:45 2025 +0200
tree c87dab908048366a457504e3f4034e41b5db5bff
parent 4862b5efbd6724d01e04b0951188f2a18c9362e8 [diff]

tdf#167075: init doc shell before pasting as png/bmp
Comment 3 Xisco Faulí 2025-08-11 15:39:33 UTC

*** This bug has been marked as a duplicate of bug 167901 ***