Bug 128443 - when using master document, images in inserted documents do not appear and aren't exported
Summary: when using master document, images in inserted documents do not appear and ar...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-29 01:14 UTC by erikmjacobs@gmail.com
Modified: 2020-07-12 03:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
a zipfile containing a master and a file with an image (5.46 MB, application/x-zip-compressed)
2019-10-29 01:17 UTC, erikmjacobs@gmail.com
Details
working "some-image.odt" (6.09 MB, application/vnd.oasis.opendocument.text)
2019-10-29 18:32 UTC, Oliver Brinzing
Details
test-master-images.zip (5.46 MB, application/x-zip-compressed)
2019-10-30 15:37 UTC, Oliver Brinzing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erikmjacobs@gmail.com 2019-10-29 01:14:55 UTC
Description:
If you create a master document and then create and insert a document that has an image embedded in it, the master does not show the images.

Steps to Reproduce:
1. Create a master document
2. Click "insert" -> "new document"
3. Insert an image into the subsequent document
4. Save the created document
5. Update the master

Actual Results:
Image is not shown in the master, and when exporting the image isn't shown either (eg: File -> Export As -> Export direct to PDF)

Expected Results:
Images should be shown


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.2.2 (x64)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 1 erikmjacobs@gmail.com 2019-10-29 01:17:21 UTC
Created attachment 155381 [details]
a zipfile containing a master and a file with an  image

I included a reproducer of a master file and another ODT that has just an image in it.

If you open the master and make sure to appropriately link the ODT into it, I'm assuming you'll see what I see.
Comment 2 Oliver Brinzing 2019-10-29 18:32:20 UTC
Created attachment 155401 [details]
working "some-image.odt"
Comment 3 Oliver Brinzing 2019-10-29 18:36:27 UTC
i can confirm the problem with attached *.zip master document example.

a newly created "some-image.odt" seems to work
Comment 4 Oliver Brinzing 2019-10-29 18:47:22 UTC
and with: 

Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: 

and newly created master/subsequent documents i cannot confirm it too.

Steps to Reproduce:
1. Create a master document
2. Click "insert" -> "new document"
3. Save the created document
4. Insert an image into the subsequent document
5. Save the created document
6. Update the master

Can you reproduce the problem with newly created master/subsequent documents?
Comment 5 erikmjacobs@gmail.com 2019-10-29 21:24:34 UTC
This was a "newly created" master / subsequent documents. The reason I filed the bug with the attached documents was because I had the problem in a different newly created master and associated document, so I tried it again and created these two files and was able to reproduce the issue. 

If you're asking me to try yet again to create a new new master document and subsequent document with an image, I'm happy to do so, and I can try to follow your steps instead.

What were the settings on the image that you used? Perhaps this is an issue with page anchoring versus character anchoring versus something else?
Comment 6 QA Administrators 2019-10-30 03:38:33 UTC Comment hidden (obsolete)
Comment 7 Oliver Brinzing 2019-10-30 15:37:31 UTC
Created attachment 155411 [details]
test-master-images.zip

added a newly created master/subdocument with your picture.
Comment 8 Oliver Brinzing 2019-10-30 15:40:16 UTC
(In reply to erikmjacobs@gmail.com from comment #5)

> What were the settings on the image that you used? Perhaps this is an issue
> with page anchoring versus character anchoring versus something else?

i extracted the image from your *.odt file, created a new master document and inserted the image via Menu "Insert/Image..." into the subdocument.
Comment 9 erikmjacobs@gmail.com 2019-10-30 21:05:11 UTC
I was asking about the settings, not the specific image used.

I am wondering if this is an "anchor to page" problem.

If you are just using plain image insert, IIRC that results in "anchor as character" or something to that effect.

Can you double check what type of anchoring and other settings you are using specifically on the image that you are not seeing a problem?

Or, open my files and make sure to match the anchoring and etc. in the document you create.
Comment 10 Oliver Brinzing 2019-10-31 17:34:35 UTC
(In reply to erikmjacobs@gmail.com from comment #9)

> Can you double check what type of anchoring and other settings you are using
> specifically on the image that you are not seeing a problem?

The picture is anchord "To Paragraph", this seems to be the default if inserted via Menu "Insert/Image...". I did not set any other settings.
Comment 11 Stanislaus J. Pinasthika 2019-11-29 01:14:06 UTC
(In reply to Oliver Brinzing from comment #4)
> and with: 
> 
> Version: 6.3.2.2 (x64)
> Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
> CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
> Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
> Calc: 
> 
> and newly created master/subsequent documents i cannot confirm it too.
> 
> Steps to Reproduce:
> 1. Create a master document
> 2. Click "insert" -> "new document"
> 3. Save the created document
> 4. Insert an image into the subsequent document
> 5. Save the created document
> 6. Update the master
> 
> Can you reproduce the problem with newly created master/subsequent documents?

I followed your step using 
Version: 6.4.0.0.alpha1+
Build ID: eeae2032476e8c8645ab438fbb379f3151c8e472
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: kf5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-11-13_06:44:02

the image can show in the master well. try to anchor the image as character
Comment 12 Dieter 2019-12-13 17:23:56 UTC
(In reply to Stanislaus J. Pinasthika from comment #11)
> the image can show in the master well. try to anchor the image as character

Default anchor has been chagend in LO 6.4. (from "to paragraph" to "to character") Erik, so could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ? You can install it alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build.
Comment 13 QA Administrators 2020-06-11 03:53:54 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2020-07-12 03:38:09 UTC
Dear erikmjacobs@gmail.com,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp