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

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Mike Kaganski <[email protected]> ---
Or, rather, *if* I post the *exact* steps to repro, it is not a bug.

0. Make sure that in Options/Writer/Comparison, "Random number ... - [x] Store
it when changing the document" is *checked*.
1. Create a hyperlink (using Ctrl+K "Insert->Hyperlink" dialog).
2. Save the document *and reload it*.
3. Edit the text of the hyperlink by typing inside the text in Writer's main
window (not thorough the dialog).
=> At this stage the macros show three links.
4. Save and reload
=> At this stage, Navigator also shows three links.

The reason is that the random number (checked at step 0, and used to make
document comparison more robust and useful) creates a new property in the
inserted text run, which makes the previously single text run with hyperlink
three new runs - first without the random number, then second with the random
number, then the third without. Every separate text run is an own hyperlink
(from the code point of view).
Possible bug is that Navigator is not updated after step 3 properly.

Possible enhancement would be to use nested text runs, instead of non-nesting,
side-by-side runs as created now.

(In reply to Jordi from comment #0)
> Version 3 of LO doesnt have this issue, it was introduced in v4

It was introduced in
https://git.libreoffice.org/core/+/062eaeffe7cb986255063bb9b0a5f3fb3fc8e34c in
2011 (for version 3.6); then it was made optional in version 5.0 [1].

[1] https://wiki.documentfoundation.org/ReleaseNotes/5.0#Optional_RSIDs.

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

Reply via email to