Description: Feature Request: The way LibreOffice now handles hyperlinks does have some usefulness to help avoid broken links. However, if someone knows what they are doing or are working on a page in a location not part of a whole directory tree of pages to which the document is linked, the present system is a real pain. I have had to go and edit the resultant HTML with a text editor to fix links. Thus, one of the options in the hyperlink dialog should be to use the entered text exactly as typed. Right now, http:// is appended automatically for internet links, for example. Comment: Sometimes programs think they are smarter than all users all the time. But sometimes, users need more precise and detailed control. Programs should not get in the user's way in such cases if the user so requests. Steps to Reproduce: 1. In Writer, create a document a directory with only the document. 2. Create a relative internet hyperlink, for example, someotherpage.htm. 3. Close the hyperlink dialog. 4. Open the hyperlink dialog. 5. Observe that the link is now http?/someotherpage.htm. 6. Open the resultant HMTL in a text editor and see that that is indeed what follows the href= Actual Results: See above Expected Results: There should have been an option to leave my link the heck alone. Reproducible: Always User Profile Reset: No Additional Info:
The dialog is confusing, but it generates the links correctly, if you use the dialog this way: If you want to link to a local file, then do not choose the category "internet", but use category "document". Then the main part changes. You will get a section "document" with a "path" field. Do not enter anything directly into the "path" field, but use the file picker icon at the right side to choose the file. You will get an entry in the field, which looks like an absolute link. But as long as the linked file is on the same drive as the document, which gets the link, the link will be saved relative. In case the linked file has a suitable part, you can choose it in the section "Target in document". Again, do not enter anything directly into the field, but use the icon on the right side. It opens a window, where you can choose the target. It will be added with #. For example, if your htm-file has an element with id-attribute, this id will be listed under "bookmark". Besides that, you need to have the option "save URLs relative to file system" checked in Tools > Options > Load/Save > General. The request, to let the user decide relative vs absolute for each individual link is already in bug 111957. Please have a look. I guess, that the proposals there will cover your request.
Thank you, Regina Henschel, but the essence of my feature request is that one be able to enter link text that remains unmodified ** even when the target is not in the local directory tree. ** There are many reasons one might wish to do that, including testing without having to copy other files. Please see my original request. Thanks again.
Tom, have you checked, if bug 111957 covers your request?. If it does, please mark your bug as a duplicate. If it doesn't please give a short reasoning. I have set the bug's status to 'NEEDINFO'.
Dieter Praas: The present hyperlink UI provides a large amount of automated functionality which is imposed on the user. In many cases, this is helpful. Bug 111957 pertains to changes to this automated functionality. The essence of my feature request herein is to give the user a checkbox or something by which to entirely disable all of the automated functionality and simply accept the user input directly as typed. This implies that the UI will *ignore* the filesystem, etc. and make no other checks, but trust the user that the user knows what he or she is doing.
Try to escape the link like "test.com". It blocks the automatically added http:// for me (and would be a perfect WFM).
Dear Tom Sullivan, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Changed to unconfirmed as requested.
Reconsidering my last comment. All these automatic procedures require in fact a manual override option. Wouldn't go with a checkbox (UI elements add complexity, clutter the interface, the off-switch is rarely needed and the checkbox draws too much attention). So my proposal: don't touch any user input when done in quotation marks.