Bug 156107 - Not all images display in calc document
Summary: Not all images display in calc document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Images
  Show dependency treegraph
 
Reported: 2023-06-30 16:59 UTC by shurikvz
Modified: 2025-07-08 03:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test file + screenshot (1.30 MB, application/x-zip-compressed)
2023-06-30 17:01 UTC, shurikvz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shurikvz 2023-06-30 16:59:34 UTC
Description:
While xlsx document is opened not all inserted images are shown. Here is screenshot with the example of how it looks in Excel and how it looks in LibreOffice. In addition, after saving this file in LibreOffice, such damaged elements disappear and are also absent when opened further in Excel.
Example of file in attachement.

Steps to Reproduce:
1. Just open attached document


Actual Results:
Not all images shown. After saving file it opens in Excel with some images deleted.

Expected Results:
All images shown. After saving file it opens in Excel also with all images shown.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 1 shurikvz 2023-06-30 17:01:32 UTC
Created attachment 188140 [details]
test file + screenshot

in archive test file + screenshot of how it expected to be
Comment 2 Julien Nabet 2023-06-30 18:29:25 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I unzipped the xlsx file and in xl/media/, there are:
- image1.png
- image2.png
- image3.jpeg
- image4.png

The pb is on the jpeg file, for the moment, no idea why.
Comment 3 Julien Nabet 2023-06-30 18:40:22 UTC
Is it a file created from Excel or is it a generated file by some specific applications?
Comment 4 shurikvz 2023-06-30 18:47:36 UTC
(In reply to Julien Nabet from comment #3)
> Is it a file created from Excel or is it a generated file by some specific
> applications?

It was created in Excel.
Comment 5 Julien Nabet 2023-06-30 18:59:40 UTC
(In reply to shurikvz from comment #4)
> (In reply to Julien Nabet from comment #3)
> > Is it a file created from Excel or is it a generated file by some specific
> > applications?
> 
> It was created in Excel.

Ok and I suppose all changes have been in Excel.

Anyway, I tried some basic analysis:
first in xl/drawings/_rels/drawing1.xml.rels

<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="../media/image3.jpeg"/>
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="../media/image2.png"/>
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="../media/image1.png"/>
<Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="../media/image4.png"/>
</Relationships>
the 4 images are here, no pb.

then when grepping rId*, knowing that the pb is the jpeg file so "rId3" I got:
julien@debianamd:/tmp/testjul$ fgrep -nRl rId1 *
_rels/.rels
xl/_rels/workbook.xml.rels
xl/worksheets/sheet1.xml
xl/worksheets/_rels/sheet1.xml.rels
xl/workbook.xml
xl/drawings/drawing1.xml
xl/drawings/_rels/drawing1.xml.rels

julien@debianamd:/tmp/testjul$ fgrep -nRl rId2 *
_rels/.rels
xl/_rels/workbook.xml.rels
xl/worksheets/sheet1.xml
xl/worksheets/_rels/sheet1.xml.rels
xl/drawings/drawing1.xml
xl/drawings/_rels/drawing1.xml.rels

julien@debianamd:/tmp/testjul$ fgrep -nRl rId3 *
_rels/.rels
xl/_rels/workbook.xml.rels
xl/drawings/drawing1.xml
xl/drawings/_rels/drawing1.xml.rels

julien@debianamd:/tmp/testjul$ fgrep -nRl rId4 *
xl/_rels/workbook.xml.rels
xl/drawings/drawing1.xml
xl/drawings/_rels/drawing1.xml.rels


I would have expected results from rId1, rId2 and rId4 identical so I would have compared with rId3.
A bit stuck here.
Comment 6 QA Administrators 2025-07-08 03:10:08 UTC
Dear shurikvz,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug