Bug 87912 - EDITING: Image is hidden, when anchor is character and another image is inserted on the same page
Summary: EDITING: Image is hidden, when anchor is character and another image is inser...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2014-12-31 14:49 UTC by robert
Modified: 2017-06-23 09:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Packes for reproducing the bug. Contains 3 images, a writerdocument an screenshot. (177.97 KB, application/x-zip-compressed)
2014-12-31 14:49 UTC, robert
Details
Screenshot, which shows image in navigator, but not in writer (37.67 KB, image/png)
2014-12-31 14:59 UTC, robert
Details
Zip-file with Writer-document and one image. Put cursor at the end and add image ... (87.97 KB, application/zip)
2015-01-02 07:16 UTC, robert
Details

Note You need to log in before you can comment on or make changes to this bug.
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)
Comment 7 QA Administrators 2016-01-17 20:03:15 UTC Comment hidden (obsolete)
Comment 8 robert 2016-01-27 17:47:16 UTC
Bug still exists with LO 5.1.0.2, OpenSUSE 42.1 Leap, 64bit rpm Linux.
Comment 9 Xisco Faulí 2016-09-20 16:10:31 UTC
Adding keyword 'bibisectRequest' to see whether this regression is already present in the oldest build of bibisect-43all repository or not.
In case it's already present, change 'bibisectRequest' to 'preBibisect'.
Otherwise, change 'bibisectRequest' to 'bibisected' and add a comment with the output from 'git bisect log'