Apache OpenOffice (AOO) Bugzilla – Issue 123479
Repositioning automatically autosized Frames
Last modified: 2014-12-23 14:43:37 UTC
Hello together A customer of me has got a problem with the 3.4.1 version. After him, the problem came with the change from 3.3 to 3.4. The problem is: 1. create a frame with a automatically resized height and with the anchortype: as character 2. add enough content to the frame that it must break the page 3. remove content from the frame (enough that the frame shall revert the page break) Expected: That pagebreak is reverted What it really does: The pagebreak simply stays Best Regards, Matthieu Riolo
Removing content from frame makes it adjust accordingly. AOO410m1(Build:9750) - Rev. 1525015 Rev.1525015 Win 7
I just tried if with the new version and I still have got this problem. Have you changed the anchor-option to "as character"?
Yes. Can you please attach example?
Created attachment 81787 [details] shows that frames will be pagedbreaked to the next page
Created attachment 81788 [details] Shows that the frame does not remove the pagebreak
Created attachment 81789 [details] shows the config AFTER changing anchortype
Here some more infos: The pictures shows the following version of OO AOO401m5(Build:9714) - Rev. 1524958 2013-09-20 11:41 - Linux i686 the first picture shows that a page break will be added. the second one shows that the pagebreak will not be removed. the third one shows that if the anchortype is changed that the pagebreak will be removed. PS: Same behaviour in OO341
Created attachment 81910 [details] Shows that the pagebreak wont be removed
I just tried out the newest version of OO and still got the bug. Actually the bug can be avoided by a simple trick and I think the most people does not recognize the bug since they use the trick (without knowing it) However, hard to describe in words - that's why you get a movie. In the movie you can see that the frame height is resizing correctly but it does not undo the pagebreak.
Thanks for the video. Confirmed with AOO410m1(Build:9750) - Rev. 1539999 2013-11-09_04:08:11 - Rev. 1540252 Debian
I tried to fix this bug but I wasn't really successful. I was able to detect the problem, why the frame does not move back to the original page but run into the problem that the frame changes the page evertime the height changed. I could fix that problem too, but run into the problem that the frame does not move back if there is a footnote anchor on his right... the file partialFixFor-123479.patch contains the code that I added for "fixing" the bug. Maybe someone else sees the problem. Furthermore, I recognized that the frames actually never moves back to a page while shrinking their content EXCEPT if they don't wrap any text. This would mean that the real bug is that the anchor of frames don't get repositioned correctly while changing the frame height. If this can be confirmed I would recommand to create a new ticket and discard that one.
Created attachment 82376 [details] partial fix for this bug
Created attachment 82422 [details] Debugprints from the resize methods This may help other people to recognize the failure that occurs
It still happens in AOO 4.1.1, but not in Libreoffice 4.3.4.1.