[Libreoffice-bugs] [Bug 129542] CRASH: Setting anchor for a formcontrol to character of pageheader leads to crash

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 13 18:53:37 UTC 2020


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

--- Comment #11 from Caolán McNamara <caolanm at redhat.com> ---
I suspect this has ~always been a bit broken. IIRC the story is something like
that drawing objects at one point could only appear in the first instance of a
header. So after a page break the drawing objects were missing on the next view
of the header. Then the feature was implemented so they could appear on all
instances of the header. Looks like control forms are left out of that support.
In this document for example the form control only appears in the first header
instance, its not shown on the other ones.

(maybe it shouldn't have been possible to add a form control into a header, you
need to fiddle around with it a bit to force it anchored to something in the
header)

The change anchor unsets the form control old anchor, but the code disallows it
to anchor into a header/footer so it ends up with no anchor which eventually
crashes, e.g. on changing its anchor again.

https://gerrit.libreoffice.org/c/core/+/100686 would allow it to anchor to the
first instance of the header (as it initially is imported as) on changing
anchor

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200813/c0220a4d/attachment.htm>


More information about the Libreoffice-bugs mailing list