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

--- Comment #3 from Adalbert Hanßen <[email protected]> ---
(In reply to Regina Henschel from comment #2)
> That is the intended behavior after solution of bug 146576. But a similar
> complain is in bug 162753.


The current solution makes it considerably more difficult to set hyperlinks to
locations in the same document. The current solution only has hyperlink targets
to the internet in mind.

The idea https://bugs.documentfoundation.org/show_bug.cgi?id=146576#c3 is still
not solved, so probably the other hyperlink destinations mentioned there are
also impeded.

Nevertheless, it often happens that you want to set hyperlinks to a position in
the same document without already having the link target in the clipboard. This
is made unreasonably difficult by the current solution.

If you delete the link target in the dialog, LO Writer should not come up with
the idea of inserting a link target from the clipboard again, which can lead
you into an endless loop!

Endless loops cause endless frustration.

If LO Writer only pre-fill the link position from the clipboard when invoked
from some marked text without an associated hyperlink, AND if this is a
syntactically correct hyperlink target that would be fine IF IT DOES NOT insert
the hyperlink a second time within the hyperlink dialog ESPECIALLY NOT after
deleting a pre-populated hyperlink in the first field. This would make all
users happy. Also the contributors of the extended discussion at # 162753. 

The point is: 

1. Use the clipboard content to preset a target only if it is syntactically a
valid hyperlink target. Don't preset from the clipboard, if this is
syntactically no hyperlink target.

2. Use it at most once after the current instance of the dialog is invoked.

3. Don't use it, if the dialog is invoked for an existing hyperlink: then come
up as if this is what might be edited/altered by the user.

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

Reply via email to