Bug 86906 - EDITING: Page-anchored image gets into header and then disappears (when manipulating with page crossing and related page style change)
Summary: EDITING: Page-anchored image gets into header and then disappears (when manip...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.5 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2014-12-01 14:27 UTC by Stanislav Horacek
Modified: 2020-12-31 13:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
demonstration of disappeared image (59.37 KB, application/vnd.oasis.opendocument.text)
2014-12-01 14:27 UTC, Stanislav Horacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Horacek 2014-12-01 14:27:44 UTC
Created attachment 110300 [details]
demonstration of disappeared image

Page-anchored images can disappear from document which is possible to reproduce by using the attached .odt file:

1. Open the .odt file. It contains two pages of different styles: the first with header/footer and filled with blank paragraphs, the second one contains a page-anchored bitmap image (green rectangle) and has no header/footer.
2. Add one more paragraph to the first page (press Enter). The content of the first page overflows to the second one, which has header/footer now. The image disappears; actually, it moves to the header of the second page (you can see it if you choose Format - Page - Header tab and check AutoFit height).
3. Delete one paragraph on the first page (or press Ctrl+Z to undo). Document has two pages again, the first with header/footer and the second one without them.

Observed: The image disappeared completely.
Expected: The image should be visible on the second page.
Workaround: The image still can be reached and selected by Navigator, cut and pasted to the second page, restoring the previous state.

Probably inherited from OpenOffice.org, tested in 3.5.4, 4.2.6, 4.3.4 and 4.4.0 beta 1 (Windows 7 or Kubuntu 14.04).
Comment 1 sophie 2014-12-02 15:50:05 UTC
Hi, confirmed with 4.4.0 beta1 on Ubuntu 14.10 x64 - Set to new -Sophie
Comment 2 QA Administrators 2016-01-17 20:04:57 UTC Comment hidden (obsolete)
Comment 3 Stanislav Horacek 2016-01-20 15:52:26 UTC
The same behaviour observed in 5.0.3.2 (Kubuntu 15.10).
Comment 4 QA Administrators 2018-06-24 02:42:01 UTC Comment hidden (obsolete)
Comment 5 Stanislav Horacek 2018-12-30 18:48:44 UTC
Still reproducible in:
6.3.0.0.alpha0+
Build ID: ac7508c31873d79e56b406c9bf931caae63d4975
Time: 2018-12-14_16:04:08

Excepting that adding of two more paragraphs is needed in the step 2.
Comment 6 QA Administrators 2020-12-30 03:39:27 UTC Comment hidden (obsolete)
Comment 7 Stanislav Horacek 2020-12-31 13:20:28 UTC
I cannot reproduce this anymore in 7.0.3.1 or in 7.2.0.0.alpha0+, Build ID: 039a87fb1022fe4d6e66e1540e7fb49cb154f08a

-> marking as works for me