Bug 160828 - Links contained within text in XLSX spreadsheets not ctrl-clickable
Summary: Links contained within text in XLSX spreadsheets not ctrl-clickable
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2024-04-26 09:46 UTC by Jez
Modified: 2024-04-26 15:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example ODS - links work (12.92 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-04-26 09:50 UTC, Jez
Details
Example XLSX - links don't work (5.98 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-04-26 09:50 UTC, Jez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jez 2024-04-26 09:46:48 UTC
When a spreadsheet is saved as an XLSX file and LibreOffice is closed and opened again, links *are* ctrl-clickable if a cell contains nothing but the link.  However, if it contains other text that contains a link, such as "test1 https://google.com/ test2", the link is highlighted in a different blue colour and is NOT ctrl-clickable, when it should be.  For some reason this doesn't apply when the file is ODS; in that case, the embedded links are all ctrl-clickable.
Comment 1 Jez 2024-04-26 09:50:33 UTC
Created attachment 193860 [details]
Example ODS - links work
Comment 2 Jez 2024-04-26 09:50:59 UTC
Created attachment 193861 [details]
Example XLSX - links don't work
Comment 3 ady 2024-04-26 10:13:42 UTC
Have you created such case in Excel, where XLSX is the natural file format?

Is Excel itself doing what you expect?

I am not saying Calc should or should not do it, but I would start by what the XLSX file format and Excel can actually do with such "mixed" cells.
Comment 4 Jez 2024-04-26 11:12:48 UTC
Unfortunately I don't have a licence for Excel (and I'll be damned if I'm paying for one) so I'm unable to create/edit documents with it.  Don't know how it'd do things.  However even just within LibreOffice this would seem to be inconsistent behaviour, wouldn't it?  Hyperlinks highlighted as such yet only clickable if they're not embedded in other text?
Comment 5 raal 2024-04-26 15:29:13 UTC
confirm with Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
And Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5740d3fa83e9725a2771e5f00ba4aaf9965f0be2
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo