Bug 87912

Summary: EDITING: Image is hidden, when anchor is character and another image is inserted on the same page
Product: LibreOffice Reporter: robert
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: dr, nn.libo
Version: 3.5.0 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Packes for reproducing the bug. Contains 3 images, a writerdocument an screenshot.
Screenshot, which shows image in navigator, but not in writer
Zip-file with Writer-document and one image. Put cursor at the end and add image ...

Description robert 2014-12-31 14:49:38 UTC
Created attachment 111578 [details]
Packes for reproducing the bug. Contains 3 images, a writerdocument an screenshot.

Download the attaches Zip-file.
Unzip the file.
There are 3 screenshot, a Writer-document and a screenshot,which will show the problem.
1. Open LO, create a new Writer-document
2. Insert → Image → From File : "1.png"
3. Mark the image, set Anchor → AS Character
4. Insert → Image → From File : "2.png"
5. Mark the image, set Anchor → AS Character
6. Insert → Image → From File : "3.png"

At this moment the buggy behavior happens: "2.png" seems to be gone. You could see a grey frame at the bottom of the writer page. Click somewhere in the document and the frame has gone.
You could only see there must be another image in the document if you open the naviagtor. There you could see image1, image3 and image2 - right in this order, not image1, image2 and image3. Mark image2 and you will see there must be an image. Only this is a way to get it back.
No great problems with only 3 images, but when I'm writing the Base-Handbook with over 100 images I don't know the number I must search for ...
Comment 1 robert 2014-12-31 14:59:13 UTC
Created attachment 111580 [details]
Screenshot, which shows image in navigator, but not in writer

Have a look at the screenshot.
Image is marked in the navigator.
The image seems to be gone outside the page.

This bug happens since LO 3.5, last working version here LO 3.4.6.2, first version with buggy behavior LO 3.5.0beta0.
The character of the bug differs a little bit. Up to LO 4.1 the third image appears at the bottom of the page and the second image seems to be lost. Since LO 4.2 the third image appears at the position the second image has been before.
The bug appears also in all LO 4.3 and LO 4.4.0.1
Tested with OpenSUSE 12.3 64bit rpm Linux.
Comment 2 robert 2015-01-01 14:10:39 UTC
Seems the description isn't exactly enough. So let me try again:

Download the attaches Zip-file.
Unzip the file.
There are 3 screenshot, a Writer-document and a screenshot, which will show the problem.
1. Open LO, create a new Writer-document
2. Insert → Image → From File : "p1.png"
3. Mark the image, set Anchor → AS Character
4. Put the cursor after the image and press [Enter]
5. Insert → Image → From File : "p2.png"
6. Mark the image, set Anchor → AS Character
7. Put the cursor after the image and press [Enter]
8. Insert → Image → From File : "p3.png"

The second image will disappear. It will only happen when you insert the images in the order I described. Other way there is enough place for all images beneath each other. So don't change "p1.png" with "p2.png" or something else.
You could see the second image isn't lost, when you open the naviagor. or just klick with the mouse at the bottom of the page. You will see the marks of the imageframe. Now search a little bit with the mouse. The cursor will show the image will be at the bottom border of the page, only ca. 2mm inside the writing-border of the first page of the document.

You could see the result also by opening the Writer-document of the Zip-file.
Comment 3 Nino 2015-01-01 15:21:22 UTC
confirmed with LibO 4.3.1.2 de Linux RPM x64 (parallel install) -> NEW
Comment 4 Nino 2015-01-01 15:22:46 UTC
also reproducible with LibO 4.3.5.2 de Linux RPM x64, parallel install
Comment 5 robert 2015-01-02 07:16:32 UTC
Created attachment 111639 [details]
Zip-file with Writer-document and one image. Put cursor at the end and add image ...

Seems the description is too complicated.
So I added another attachment. It contains a Writer-document and one image ("p3.png").
1. Open wirter document.
2. Set the cursor at the end of the text on the page.
3. Insert → Image → From File : "3.png"

The second image in the Writer-document will be lost.

You could see the frame at the bottom of the document when using the navigator. The frame seems to be empty. A click on the frame and you could see in the properties of the image there should be the image inside the frame ...
Comment 6 bugfinderx 2015-01-04 22:49:31 UTC
also reproducable with LibreOffice 4.2.8 on Windows Vista (32-bit)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.