Bug 83142 - Link to inserted Draw object ignored when saved as Flat ODT (becomes embedded)
Summary: Link to inserted Draw object ignored when saved as Flat ODT (becomes embedded)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: dataLoss, filter:fodt
: 89353 (view as bug list)
Depends on:
Blocks: OLE-Objects ODF-Flat
  Show dependency treegraph
 
Reported: 2014-08-27 12:32 UTC by nroos
Modified: 2025-04-08 03:10 UTC (History)
4 users (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 nroos 2014-08-27 12:32:59 UTC
When inserting a Draw object as a link into a document, the link is ignored and the whole object is inserted:

1. Open the Draw program
2. Draw a line
3. Save as "testfile.odg"
4. Open the Writer program
5. Menu Insert -> Object -> OLE Object...
6. Select "Create from file", activate "Link to file", select created testfile.odg
7. Save document as "testdoc.fodt" in flat file format
8. Take a look at testdoc.fodt (with cat, less, editor...)

Current behavior:

The Draw object is not inserted as a link, but as a whole. There is no "testfile" string in the file.

Expected behavior:

The document should only contain a pointer to the testfile.odg, not the object itself.

When saving the drawing in flat file format, too, it does not change the behaviour.

Strange that this happens, as i have definitely seen it already working, but i don't know if it was the same version.

              
Operating System: Ubuntu
Version: 4.2.4.2 release
Comment 1 sophie 2014-09-24 13:27:00 UTC
Hi, I can reproduce with saving in .fodt that the link is not saved, but not when saving in .odt. Reading the content.xlm I get:
<draw:object xlink:href="../testfile.odg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/><draw:image xlink:href="./ObjectReplacements/Object 1" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>.
I let it as unconfirmed. Tested with 4.3.2.1 Ubunt 14.04 x64 - Sophie
Comment 2 Buovjaga 2014-11-14 09:24:09 UTC
Reproduced.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 3 Buovjaga 2015-01-11 06:57:23 UTC
This happens already in 3.3.0

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 QA Administrators 2016-01-17 20:02:38 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-03-06 13:56:08 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-03 14:19:59 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2020-08-16 23:41:20 UTC
Reproducible with

Version: 7.1.0.0.alpha0+
Build ID: <buildversion>
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-08-05_04:03:50
Calc: threaded
Comment 8 QA Administrators 2022-08-17 03:34:43 UTC Comment hidden (obsolete)
Comment 9 Stéphane Guillou (stragu) 2023-04-08 09:41:08 UTC
*** Bug 89353 has been marked as a duplicate of this bug. ***
Comment 10 Stéphane Guillou (stragu) 2023-04-08 09:47:59 UTC
Still reproducible in recent master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 23bd3bd10e74b0c23c2654d02d7d830e7693adac
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 11 QA Administrators 2025-04-08 03:10:27 UTC
Dear nroos,

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