Bug 159899 - Show hyperlink name as tooltip
Summary: Show hyperlink name as tooltip
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Tibor Nagy
URL:
Whiteboard: target:24.8.0 inReleaseNotes:24.8
Keywords:
Depends on:
Blocks: Hyperlink 159925
  Show dependency treegraph
 
Reported: 2024-02-26 09:30 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-04 14:39 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with named hyperlink (10.63 KB, application/vnd.oasis.opendocument.text)
2024-02-26 09:30 UTC, Gabor Kelemen (allotropia)
Details
The example file in the dialog (48.16 KB, image/png)
2024-02-26 09:31 UTC, Gabor Kelemen (allotropia)
Details
The usual tooltip of the link (58.08 KB, image/png)
2024-02-26 09:31 UTC, Gabor Kelemen (allotropia)
Details
How it looks with Word (35.53 KB, image/png)
2024-02-26 09:34 UTC, Gabor Kelemen (allotropia)
Details
comparison btw word and writer (105.43 KB, image/jpeg)
2024-03-11 06:06 UTC, Naresh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-02-26 09:30:58 UTC
Created attachment 192779 [details]
Example file from Writer with named hyperlink

This is related to bug 159897

In Word if the hyperlink has a ScreenTip set, that text is shown as a tooltip when hovering over the link.
In Writer it would be useful to mimic this behavior, showing the Name of the hyperlink.

1. Open attached document
2. Hover over the hyperlink
-> The "Ctrl-click to open hyperlink: ..." tooltip appears. 
This could be extended to show the Name, if it is provided, in place (or in addition?) of the actual link.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74185b8edf7f046a3372319da86a1d8ca0024c87
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Gabor Kelemen (allotropia) 2024-02-26 09:31:19 UTC
Created attachment 192780 [details]
The example file in the dialog
Comment 2 Gabor Kelemen (allotropia) 2024-02-26 09:31:41 UTC
Created attachment 192781 [details]
The usual tooltip of the link
Comment 3 Gabor Kelemen (allotropia) 2024-02-26 09:34:57 UTC
Created attachment 192782 [details]
How it looks with Word

How the attachment 192776 [details] from bug 159897 looks in Word - something similar would be desired here.
Comment 4 Naresh 2024-03-11 06:05:39 UTC
Was able to replicate, changing status as New

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 5 Naresh 2024-03-11 06:06:52 UTC
Created attachment 193055 [details]
comparison btw word and writer
Comment 6 Commit Notification 2024-05-23 11:04:47 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1396347c8e9b036f15bc646b9475073344e69e74

tdf#159899 sw: show hyperlink name as tooltip

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.