Bug 128961 - Automatic Hyperlinks
Summary: Automatic Hyperlinks
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2019-11-22 12:52 UTC by Lewis Balentine
Modified: 2019-11-29 12:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Balentine 2019-11-22 12:52:40 UTC
There needs to be a way to DISABLE automatic hyperlinks being created as there is NO to remove said hyperlinks after they have been created.  This is an extremely irritating and frustrating "feature" in both the WRITER and SPREADSHEET modules particularly for email addresses.

Remember the old adage: NEVER ASSUME !!!
Comment 1 Lewis Balentine 2019-11-22 12:53:49 UTC
There needs to be a way to DISABLE automatic hyperlinks being created as there is NO way to remove said hyperlinks after they have been created.  This is an extremely irritating and frustrating "feature" in both the WRITER and SPREADSHEET modules particularly for email addresses.

Remember the old adage: NEVER ASSUME !!!
Comment 2 V Stuart Foote 2019-11-22 18:43:08 UTC
Controlled as an AutoCorrect option:  'URL Recognition' enabled by default. 

Simply uncheck it.
Comment 3 V Stuart Foote 2019-11-22 18:44:21 UTC
Found on the

Tools -> AutoCorrect -> AutoCorrect Options -> Options tab.
Comment 4 Samuel Mehrbrodt (allotropia) 2019-11-28 07:40:36 UTC
Maybe it makes sense to disable the automatic hyperlink creation by default?

Personally I find it not useful most of the time.
Comment 5 Lewis Balentine 2019-11-28 12:56:03 UTC
Controlled as an AutoCorrect option:  'URL Recognition' enabled by default.

Well I looked that up and it appears to be by individual document.

================
Turn off URL Recognition: 
Load a document of the type for which you want to modify the URL recognition.
If you want to modify the URL recognition for text documents, open a text document.
Choose Tools - AutoCorrect - AutoCorrect Options.
In the AutoCorrect dialog, select the Options tab.
If you unmark URL Recognition, words will no longer be automatically replaced with hyperlinks.
In LibreOffice Writer there are two check boxes in front of URL Recognition. The box in the first column is for later post-editing and the box in the second column is for AutoCorrect as you type.
===============
That works but you have to do it for ever document.

The bigger problem is that there is NO WAY to remove a hyper-link one it has been inserted. You can use Control-Z but when you exit the cell the Link is restored (unless you have turned it off for the document). Maybe what I should ask for is a simple way to REMOVE hyperLinks. Some reference indicate that should be available in the right-click context menu ... but it does not appear for min. It is also NOT an option in the Hyper-Link edit dialog.
Comment 6 V Stuart Foote 2019-11-28 15:51:58 UTC
(In reply to Lewis Balentine from comment #5)
> Controlled as an AutoCorrect option:  'URL Recognition' enabled by default.
> 
> Well I looked that up and it appears to be by individual document.
> 

No, the user profile setting to disable conversions to Hyperlinks is persistent, it is not just 'per document'. 

In addition to setting within a module from the AutoCorrect dialog (Tools -> AutoCorrect -> AutoCorrectOptions -> Options tab) simply edit with a text editor in the "registrymodifications.xcu" user profile directly. Or can be set by LO GUI with the Tools -> Options -> 'Open Expert Configuration' dialog.

Either method, the stanza in user profile to edit is "SetInetAttribute"--setting boolean 'True' or 'False'--at the two locations for either while typing [AutoCorrect] or for post-editing [Writer/AutoFunction/Format/Option]. 

> 
> The bigger problem is that there is NO WAY to remove a hyper-link one it has
> been inserted. You can use Control-Z but when you exit the cell the Link is
> restored (unless you have turned it off for the document). 

That has already been implemented at 6.4.0--for bug 62561, and bug 111707. Remove the Hyperlink from context menu with the URL selected.

Generic command (Windows, Draw, Impress) is .unoRemoveHyperlink
Calc command is .unoDeleteShapeHyperlink

Still some warts--e.g. selecting _multiple_ Hyperlinks and remove the link while leaving the text intact (with or without its formatting) and lots more found on the bug 107733 META.

(In reply to Samuel Mehrbrodt (CIB) from comment #4)
> Maybe it makes sense to disable the automatic hyperlink creation by default?
> 
> Personally I find it not useful most of the time.

I kind of agree--the automatic conversion to Hyperlinks has been an annoyance to me, but then I expect to <Ctrl>+Z immediately, making the change would disrupt workflow most folks expect.
Comment 7 Heiko Tietze 2019-11-29 07:49:02 UTC
There are plenty of means to quickly undo the conversion per shortcut (ctrl+Z/K), context menu (Remove/Edit hyperlink), toolbar, and main menu. On the contrary it takes a couple of steps to make a text a hyperlink. => WFM
Comment 8 Lewis Balentine 2019-11-29 11:28:24 UTC
I have turned OFF "URL recognition" and yes it does seem to across all documents. I do not know how it appeared to be document specific the first times I tried it (most likely operator error).

I cannot speak to version 6.4.0. I am running the current version of Linux Mint 19.2 which is based on Ubuntu. Currently the distribution version of LibreOffice is at: Version: 6.0.7.3, Build ID: 1:6.0.7-0 ubuntu 0.18.04.10

I find it easy to insert a HyperLink from the Insert menu but impossible to do the reverse (very frustrating). At this point I have to remove the offending entry and retype it with URL recognition turned off. I was looking for a simpler method like an icon in the tool bar: "Wax on. Wax off." --- Mr. Miyagi

Linux Mint is supposed to have a new release 19.3 just before christmas. Perhaps that will update LibreOffice to a version with the context menu (Remove/Edit hyperlink) fix.

Lest I was social ignorant or otherwise social inappropriate: My apologies, no offence intended. I do like and use LibreOffice on a daily basis.