Bug 65136 - FILESAVE, FILEOPEN: XLS, XLSX partial-cell hyperlink is reloaded as full-cell hyperlink
Summary: FILESAVE, FILEOPEN: XLS, XLSX partial-cell hyperlink is reloaded as full-cell...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 92756 112325 139274 144069 (view as bug list)
Depends on:
Blocks: XLS-Limitations XLSX-Limitations Hyperlink XLSX-Hyperlink
  Show dependency treegraph
 
Reported: 2013-05-29 18:59 UTC by dg1727
Modified: 2024-04-19 14:50 UTC (History)
11 users (show)

See Also:
Crash report or crash signature:


Attachments
xlsHyperlinkPerCell-crop.png: Excel 2003 screenshot for insert hyperlink which is disabled for character properties and only active when the cell is selected (32.90 KB, image/png)
2022-10-29 10:18 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dg1727 2013-05-29 18:59:54 UTC
1.  Open a new spreadsheet window (Ctrl-N).  
2.  In the first cell, type something like:  

Link to http://www.example.com

3.  Press Enter.  The text "http://www.example.com" will be highlighted as a hyperlink, but the text "Link to" won't be.  This is OK so far.  
4.  Save the file as ODS and as Excel 2007/2010 XLSX.  
5.  Close the spreadsheet window.  
6.  Reopen both files in LO Calc.  The ODS file will look the same as it did before it was saved.  The problem is that, in the XLSX file, the entire cell contents "Link to http://www.example.com", not just the URL, are now a hyperlink.  

Tested on Ubuntu Linux 32-bit with LibreOffice 3.6.6.2.
Comment 1 dg1727 2013-06-02 18:02:29 UTC
The same problem occurs when saving & reloading an XLS (Excel 97/2000/XP/2003).
Comment 2 QA Administrators 2015-03-16 23:19:40 UTC Comment hidden (obsolete)
Comment 3 Jean-Baptiste Faure 2015-03-28 17:57:40 UTC
Reproducible with LibreOffice 4.4.3.0.0+ built at home under Ubuntu 14.10

Because the hyperlink is correct, only its formatting is wrong in xlsx format, set importance to low/minor.

Note: this bug report has not been confirmed independently before its status has been set to NEW. Please do not set your own bug report to new.

Best regards. JBF
Comment 4 tommy27 2016-04-16 07:27:57 UTC Comment hidden (obsolete)
Comment 5 Jean-Baptiste Faure 2016-05-06 16:07:13 UTC
Still reproducible in LO 5.1.4.0.0+ and master, both build at home under Ubuntu
16.04 x86-64.

Best regards. JBF
Comment 6 QA Administrators 2018-08-22 02:37:50 UTC Comment hidden (obsolete)
Comment 7 Jean-Baptiste Faure 2018-09-15 20:12:23 UTC
Still reproducible with LibreOffice 6.1.2.0.0+ built at home under Ubuntu 18.04
x86-64.

Best regards. JBF
Comment 8 Gabor Kelemen (allotropia) 2019-04-04 15:12:32 UTC
*** Bug 92756 has been marked as a duplicate of this bug. ***
Comment 9 Gabor Kelemen (allotropia) 2019-04-04 15:18:08 UTC
*** Bug 112325 has been marked as a duplicate of this bug. ***
Comment 10 Gabor Kelemen (allotropia) 2019-04-04 15:19:08 UTC
A sane sounding proposal from the duplicate bug #112325 :

It would be nice if a configuration option is introduced that allows to only add one hyper-link into a Cell for a specific spread sheet file.
Comment 11 NISZ LibreOffice Team 2020-12-30 14:42:48 UTC
*** Bug 139274 has been marked as a duplicate of this bug. ***
Comment 12 NISZ LibreOffice Team 2021-08-30 09:16:29 UTC
*** Bug 144069 has been marked as a duplicate of this bug. ***
Comment 13 Stéphane Guillou (stragu) 2022-09-17 20:51:23 UTC
still reproducible in:

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 3752e8eaa81a50b018669d03dc59b3753a5248ef
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

... for both XLSX and XLS.
Comment 14 Justin L 2022-10-29 10:18:14 UTC
Created attachment 183325 [details]
xlsHyperlinkPerCell-crop.png: Excel 2003 screenshot for insert hyperlink which is disabled for character properties and only active when the cell is selected

This is a limitation of the XLS/X format IIUC. So then this is not a bug really.

About the only actionable item I can see would be to implement Gabor's suggestion in comment 10 - to add a UI option that prevents inserting multiple hyperlinks when the file format is already in XLS/X format.
Comment 15 Justin L 2023-08-23 13:50:27 UTC
(In reply to Justin L from comment #14)
> About the only actionable item I can see would be to implement Gabor's
> suggestion in comment 10 - to add a UI option that prevents inserting
> multiple hyperlinks when the file format is already in XLS/X format.
This has been done in LO 24.2 thanks to bug 156611.
Comment 16 BogdanB 2024-03-12 09:26:29 UTC
Still an issue in
Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ro-RO (en_US); UI: en-US
Calc: threaded
Comment 17 Justin L 2024-04-19 14:50:59 UTC
(In reply to Justin L from comment #14)
> This is a limitation of the XLS/X format. So then this is not a bug really.