https://bugs.documentfoundation.org/show_bug.cgi?id=164188

--- Comment #7 from Justin L <[email protected]> ---
(In reply to Miklos Vajna from comment #6)
> in-header anchor or in-fly anchor should be an exception
Neither of these apply. It is a simple floating table just before a new
section. No repeating headers or anything fancy like that either.

In terms of layout (of comment 4's file of course), this seems to be what is
happening:
-the table has been given an arbitrary height and position (looks like a copy
of the size from page 1 before the join) and then adds the entire height of the
table, so that it exceeds the deadline (once it gets positioned correctly).
That's fine, because it doesn't need nearly that much, so it eventually shrinks
by 8152. However, the section frame was NOT allowed to grow past the deadline,
and now SwLayoutFrame::ShrinkFrame tells GetUpper [the SwSectionFrame] to
shrink by the same 8152 amount.

Specifically, SwSectionFrame::Grow[9974], but only has room to grow [6736] 
because deadline[30373] limits growth from frameArea[9840x5309@(1084,18328)]
    9974 + 5309 + 18328 == 33611
    9974 - 6736 == 3238 == 33611 - 30373

Meanwhile the table 9840x9156@(1084,4953) at ::join time is told to grow
[5030], and then it is repositioned at [9840x14186@(1084,18906)
    9156 + 5030 == 14186
    14186 + 18906 == 33092 which is over the deadline 30373.

Since the table size is actually 6034, the height[14186] is reduced by [8152],
and that causes the section height [5309 + 6736 == 12045] to be reduced down
to[3893] - obviously not enough to hold a 6034 table plus some extra
paragraphs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to