Bug 160023

Summary: Pasting Array formula used ROW or COLUMN function as GDI-Image results in an error-displayed image
Product: LibreOffice Reporter: nobu <tac725>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: raal
Priority: medium    
Version: 4.1.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102593    
Attachments: sample file

Description nobu 2024-03-04 11:17:29 UTC
Description:
Pasting Array formula using ROW or COLUMN function as GDI-Image results in an error-displayed image

Steps to Reproduce:
1. Open New Calc.
2. Cell Input [A2] : =ROW(Z1:Z4)
3. Select [A1:A5] and Copy.
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. Three items result in Error [#REF!] Images.

Expected Results:
5. The image will be the same as the original cell.


Reproducible: Always


User Profile Reset: No

Additional Info:
No problem with PNG and BMP Images.

----
Reproducible with
バージョン: 6.1.3.2 (x64)
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS:Windows 10.0; UI render: GL; 
ロケール: ja-JP (ja_JP); Calc: CL

Reproducible with
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 10240; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded

Reproducible with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e939685f9c6918830bd3097062790bfccbce937e
CPU threads: 4; OS: Windows 10.0 Build 10240; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded
Comment 1 nobu 2024-03-04 11:18:59 UTC
Created attachment 192940 [details]
sample file
Comment 2 raal 2024-04-29 20:33:03 UTC
Confirm with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5740d3fa83e9725a2771e5f00ba4aaf9965f0be2
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)