Apache OpenOffice (AOO) Bugzilla – Issue 19948
Inconsistent layout
Last modified: 2017-05-20 11:22:21 UTC
A frames, which is centered to the paragraph text area, can become incorrectly position. This occures when the frame is forced onto the next page but the frame's anchor remain on the first page. This can happen for example when the frame is too big for the remaining part of the page but not big enough to move the paragraph to which it's attached onto the next page. This can be seen in the attach example. As loaded the frame is centred within the hole page (page 2) when the first paragraph is deleted (page 1) the frame become centred within the paragraphs text area on the first page. Ok, To further complicate the issue (some of the time) if you then undo the cut which removed the first paragraph the frame moves into the correct place on the next page. As for some reason the frame anchor is forced onto the next page. But if you add extra charaters (ie hit return) to force it onto the next page the position is wrong and the anchor still remain on the first page. Also if you force the paragraph to which the frame is anchored onto the next page if the from is in the wrong position it is corrected, as the anchor is now forced onto the sencon page. Then deleting the extra charaters from the document results in the frame remaing in the correct possition as the anchor dosen't move back onto the first page till the hole frame will fit. To summarise if the anchor of a frame centred within the paragraph text area is not on the same page as the frame the position is wrong.
Created attachment 9605 [details] Test case document file
Confirmed on 1.1.0 Linux. Reproduction recipe: -> Open attachment, note that frame is centered left to right in paragraph. -> Delete first paragraph -> Frame now appears to be right aligned, when it is still set to be centered.
set target to OOo Later
HI->OD: Occurs also in current Version.
*** Issue 14393 has been marked as a duplicate of this issue. ***
There two defects described in this issue: (1) Wrong horizontal position of frame, if anchor is on another page. (2) Different formatting - first, the anchor is on first page, then (after delete and undo) its on the second page. Ad (1): The horizontal position isn't wrong. If a frame follows the text flow, its position is determined by its new environment. A frame follows the text flow (e.g. moves to the next page or column), if it doesn't fit in the environment, its anchor is in, because of its size or its given vertical position. In your given document the frame follows the text flow to the next page Ad (2): It's a defect, which have to be solved. Thus, changing summary from 'Frame horziontal position incorect if anchor on another page', because horizontal frame position is correct to 'Inconsistent layout'
*** Issue 31462 has been marked as a duplicate of this issue. ***
I think this is Priority 2, because the bug destroyes page layout !!!
Reset assigne to the default "issues@openoffice.apache.org".