Text of internal hyperlink is not updated (writer)

I’ve made internal hyperlinks inside writer document (by dragging headings from the Navigator). When I change structure of document (added some chapters) text of hyperlinks are note updated however they still point to correct section.

What I did:

  • insert “Heading 1"” “London”
  • Navigator(F5)->Headings - drag “London” into document (appears as “London”).
  • Change heading “London” to “Loooooondoon”

Hyperlink is still “London”

Is there any way to update text of link (other then by hand made macro)?

So maybe there should be “drag as cross reference” in Navigator panel? Dragging from navigator is (in my use case) much more efficient then inserting cross reference?

Thanks for the clarification. I have updated my answer. Please feel free to update the bug with tests for your platform and LO version.

Why would a hyperlink update if the destination text changes? A hyperlink consists of two parts: a) the displayed text; b) the link. Only the link will be updated, because Writer assumes you want the text to display as-is. I would think this is normal. The only way to get a cross-reference to update the displayed text (when the destination text is changed) is if you use the cross-reference facility (Insert > Cross-reference…).

EDIT: Resultant comment is indicative of a drag-n-drop cross-reference ability to be added to the Navigator. This is bug fdo#36310.