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
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?
Created attachment 203498 [details] sample file
In the past, a similar issue was fixed by c07d2ea9589cf794bd300697e8a40bf9f94a8346
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ae69d423086a5e27795d8d9895607d9e9de3efba tdf#168850, tdf#167075, tdf#168850: Revert "ScViewData: pass ScDocShell by ref" It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/30af0dfd29c1e3c70ae30e2123b7549323870c12 tdf#168850, tdf#167075, tdf#169554: Revert "ScViewData: pass ScDocShell by ref" It will be available in 25.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.