Bug 158413 - LibreOffice Calc exports the wrong sheet as a PNG
Summary: LibreOffice Calc exports the wrong sheet as a PNG
Status: RESOLVED DUPLICATE of bug 137601
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.6.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 09:43 UTC by David García
Modified: 2023-11-28 12:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Calc document (69.50 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-11-28 09:44 UTC, David García
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David García 2023-11-28 09:43:16 UTC
Description:
I have a Calc document consisting on three sheets. If I'm on the second sheet ("La piedra lunar, de Wilkie Collins_2") and I export it as a PDF, things go as normal.

However, if I export it as a PNG, a different sheet is exported ("La piedra lunar, de Wilkie Collins").

Steps to Reproduce:
1. I click on the sheet called "La piedra lunar, de Wilkie Collins_2", to make it the current one.
2. I click on File > Export.
3. I select "PNG".
4. I click on "OK".

Actual Results:
The exported PNG reflects the contents of a different sheet (not the current one).

Expected Results:
The exported PNG should reflect the contents of the current sheet.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-GB
Calc: CL threaded
Comment 1 David García 2023-11-28 09:44:07 UTC
Created attachment 191073 [details]
Calc document
Comment 2 m_a_riosv 2023-11-28 10:35:35 UTC
It works for me if the selection option is checked in the export.
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 3 David García 2023-11-28 11:02:34 UTC
(In reply to m.a.riosv from comment #2)
> It works for me if the selection option is checked in the export.
> Version: 7.6.3.2 (X86_64) / LibreOffice Community
> Build ID: 29d686fea9f6705b262d369fede658f824154cc0
> CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

I feel embarrassed: before creating an issue, I try to make sure that I've tried everything and, yet, I didn't see "Selection" box.

That being said, what is purpose of the "Selection" box? By default, it makes sense (at least, to me) that you export your current sheet. Another possible default option could be to export all the sheets, but this is not the case. Is there a place to change these settings?

Thanks for your help!
Comment 4 m_a_riosv 2023-11-28 11:56:06 UTC
Please better add a new report as request for enhancement.
Comment 5 David García 2023-11-28 12:20:24 UTC

*** This bug has been marked as a duplicate of bug 137601 ***
Comment 6 David García 2023-11-28 12:21:45 UTC
(In reply to m.a.riosv from comment #4)
> Please better add a new report as request for enhancement.

Actually I've just found this is a duplicate of a previous issue, and I've just marked it as such.