Bug 111877 - hyperlink fragmentation if text link contains a quote
Summary: hyperlink fragmentation if text link contains a quote
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 08:58 UTC by Jean-Baptiste Faure
Modified: 2017-08-18 07:02 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 Jean-Baptiste Faure 2017-08-17 08:58:28 UTC
Description:
If you attach an URL to a sentence containing a quote, then, after saving and reloading the file, the hyperlink will be split in several hyperlinks with the same target. This can be seen in the navigator.

Steps to Reproduce:
1. open a new text document
2. type something like "Azertyuiop d'qsdfgh jklm"; note that the first character is uppercase
3. select the entered text, then ctrl+K and type an url, for example http://www.libreoffice.org
4. validate, save and close the file
5. reopen the file and open the navigator (F5) and look at hyperlinks

Actual Results:  
You see that your single hyperlink has been split in several hyperlinks with the same target

Expected Results:
Only one hyperlink with the whole sentence


Reproducible: Always

User Profile Reset: No

Additional Info:
It seems that it is important that the first character of the sentence is uppercase
The bug appears even if I disable auto-correction 


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 Xisco Faulí 2017-08-17 14:18:12 UTC
I can't reproduce it in

Version: 6.0.0.0.alpha0+
Build ID: a19dc104ec008f0bb44676d63d4764c6d7442a0d
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and saving to .odt.

Which format did you use?
Comment 2 Jean-Baptiste Faure 2017-08-17 14:49:47 UTC
I saved in extended ODF 1.2 (default format).

Did not try with master, only LO 5.4.0.3
Just did that and it seems to work as expected.
Version: 6.0.0.0.alpha0+
Build ID: ec4034c4a4f23574401ba2a74b635d9ed4befbc8
Threads CPU : 4; OS : Linux 4.4; UI Render : par défaut; VCL: gtk3; 
Ubuntu_16.04_x86-64
Locale : fr-FR (fr_FR.UTF-8); Calc: single

Do you reproduce in LO 5.4 ?

Best regards. JBF
Comment 3 Jacques Guilleron 2017-08-18 06:11:14 UTC
Hi Jean-Baptiste, Xisco,

Works as excepted with
LO 6.0.0.0.alpha0+ Build ID: 88179e3de8865ea07d5017ca0723afd10ad44ba7
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-08-06_23:49:25
Locale: fr-FR (fr_FR); Calc: group
and
LO 5.4.0.3 (x64) Build ID: 92c2794a7c181ba4c1c5053618179937228ed1fb
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: single
Comment 4 Jean-Baptiste Faure 2017-08-18 07:02:46 UTC
Thank you for your tests.
Not reproducible for me with my last build of LO 5.4.2.0.0+.

Closing as WorksForMe.

Best regards. JBF