Bug 145231 - URL Recognition option not working
Summary: URL Recognition option not working
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-20 01:54 UTC by Ken C
Modified: 2021-12-08 13:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Keystrokes used to reproduce linkification bug #145231 (623.09 KB, application/octet-stream)
2021-10-31 17:58 UTC, Ken C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken C 2021-10-20 01:54:29 UTC
Description:
While using LibreWriter, text with a URL that is pasted in or typed into a document is not automatically recognized & so no link to the web page is created.
In my AutoCorrect options "URL Recognition" feature boxes are checked on for both "[M]" and "[T]". This is the default setting when Writer was installed.

This bug appears very similar to that described in Bug# 69599 EDITING: No automatic detection of ANSI URL by AutoCorrect

This bug does NOT occur in another version of Writer that I use: 6.4.7.2
Bug occurs in 7.2.1.2 release.

Keywords: EDITING  FORMATTING 

Steps to Reproduce:
1. Copy URL from browser
2. Paste into open document in Writer
3. Type a space after URL

Actual Results:
Text remains without a hyperlink

Expected Results:
Text should have a hyperlink automatically inserted


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.1.2 / LibreOffice Community
Build ID: 2c9f9a7aa7c967a1b7ec3448959cff87b32f6580
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Michael Warner 2021-10-20 13:02:05 UTC
Do you have a specific URL we can use to reproduce this? Linkification works for me when I paste URL:

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

Into Writer of version:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Ken C 2021-10-20 17:23:55 UTC
Response to  Michael Warner 2021-10-20 13:02:05 UTC 

I used https:///www.mozilla.org  and no URL link is recognized or created, but anything resembling a URL has the same result.

I should clarify ... (1) typing in a URL does not create a link automatically, but (2) when I cut the URL you gave me (from a browser) & paste in then the linkification does work. And, (3) if I cut the URL from email (in my case Thunderbird) & paste the linkification does not work.

I noticed that an underlying problem may lie in the spell check module(s). Typing in text is never flagged as a spelling error, eg: eror or rabbish. Spell check does not identify any spelling errors either automatically as typed or when manually checked. I'm working on default US language settings. 

I have these relevant options :
Tools | Automatic Spell Checking is checked on
Tools | Options | Language Settings | Languages | Language Of User Interface: Default - English (USA)
Tools | Options | Language Settings | Languages | Default Languages for Documents Western: Default - English (USA)
Tools | Options | Language Settings | Writing Aids | Available Language Modules: 
Hunspell SpellChecker is checked on
Tools | Options | Language Settings | Writing Aids | User-Defined Dictionaries: standard; en-GB; en-US all switched on
Comment 3 QA Administrators 2021-10-21 03:37:11 UTC Comment hidden (obsolete)
Comment 4 Michael Warner 2021-10-21 12:57:01 UTC
I notice you put three slashes after the https:, which is the problem. The correct URL is 

    https://www.mozilla.org

You will notice there should be only two slashes. When I type this in to Writer, it automatically creates a link as expected.
Comment 5 Ken C 2021-10-22 01:25:55 UTC
Response to Michael Warner 2021-10-21 12:57:01 UTC 

Sorry for the typo. I tried this with the same result: no linkification.

https://a.co
Comment 6 Michael Warner 2021-10-22 14:25:35 UTC
(In reply to Ken C from comment #5)
> https://a.co

This one works for me as well. I have now tested in a variety of recent 7.x versions on both Linux and Windows and I am not able to reproduce this. I guess you could try installing the latest version and resetting your profile again and see if that helps, but otherwise I have no specific advice to provide.
Comment 7 Ken C 2021-10-25 17:36:18 UTC
I've tried removing & re-installing several times and each time I get the same result: linkification does not work & nor does spell check. The older version 6.4 works for me so will revert to that.
My opinion is to close this bug.
Comment 8 Ken C 2021-10-31 17:58:53 UTC
Created attachment 176046 [details]
Keystrokes used to reproduce linkification bug #145231
Comment 9 Ken C 2021-10-31 18:02:00 UTC
I read Bug# 145172 and re-opened this bug to update with new information to reproduce the bug.
Comment 10 Ken C 2021-10-31 18:12:06 UTC
I uploaded an attachment video to show how the bug may be reproduced on my system. But, I made a mistake in the video. In the video I typed in an error in the Bug number. 

It should read: I reported Bug# 145231

Attachment is mp4 file format.
Comment 11 Xisco Faulí 2021-11-08 15:32:41 UTC
I can't reproduce it in

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 9ffbbd9dba5f12be2914ebbf01ebdd303b695e46
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
Comment 12 Michael Warner 2021-11-09 14:25:11 UTC
Ken,

Thanks for recording and uploading this video. Fortunately (or unfortunately), I still can't reproduce it in:

Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

or

Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 13 Ken C 2021-12-07 19:26:59 UTC
I noticed an auto upgrade has put me in a new version of software. Linkification works for me now on this release.

Version: 7.2.3.2 / LibreOffice Community
Build ID: a49ed84f3d037188bbbcb324f9afc3796d887539
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Thanks. You can close out the bug report.
Comment 14 QA Administrators 2021-12-08 04:37:55 UTC Comment hidden (obsolete)