Bug 152036 - FILESAVE: XLSX: images are not kept as linked after RT
Summary: FILESAVE: XLSX: images are not kept as linked after RT
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: XLSX-Limitations Files-Linked
  Show dependency treegraph
 
Reported: 2022-11-14 09:37 UTC by Xisco Faulí
Modified: 2022-11-14 14:11 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 Xisco Faulí 2022-11-14 09:37:32 UTC
Steps to reproduce:
1. Open Calc
2. Insert an image as linked -> Double check it's listed in Edit - Link to external files
3. save it as XLSX

-> The image is saved as embedded. If you unzip the document you will see it there. Same if you open the document and go to Edit - Link to External files. it's greyed out

Reproduced in

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

and

Version: 6.2.0.0.alpha1+
Build ID: a20a2d7e0d28658f2d9089da076961a599833a28
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: es-ES (es_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2022-11-14 14:11:09 UTC
Reproduced with:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6e66b5d75b4cda0314b64f4d12ef9e4350751470
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

In the XLSX file, xl/drawings/_rels/drawing1.xml.rels refers to the target as an internal "../media/<filename.png>"