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

--- Comment #4 from Henner Drewes <[email protected]> ---
Created attachment 183038
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183038&action=edit
Simple patch to fix the issue

In PriorityMergedHBox::Resize() the notebook bar groups are hidden or shown
depending on the available width. If at least one group is hidden, the drop
down button is shown. When changing the context (e.g. from text to table),
resize is called multiple times with 0 width or other temporary (small) width
values, so that all the groups are hidden and only the button is shown.

Therefore the control reports a height of just the button height and not the
actual notebook bar height. So the the bottom rows get cut off. During the next
resize, as groups are already visible, the correct height is reported, and the
full height is restored, all controls are shown. 

Setting the the size twice in PriorityHBox::SetSizeFromParent() therefore fixes
the problem.

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

Reply via email to