After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136697 - Show tooltip with URL on links
Show tooltip with URL on links
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-09 23:06 UTC by Xan Lopez
Modified: 2009-03-20 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Opera screenshot (1.43 KB, image/png)
2004-03-10 20:03 UTC, spark
  Details
proof-of-concept (3.00 KB, patch)
2004-03-18 22:04 UTC, Christian Persch
none Details | Review
complete solution, does not need to patch mozilla sources (7.65 KB, patch)
2004-03-22 16:02 UTC, Christian Persch
none Details | Review
you'll also need this patch in addition to the last one (628 bytes, patch)
2004-03-22 19:56 UTC, Christian Persch
none Details | Review
updated patch (7.80 KB, patch)
2004-04-29 12:35 UTC, Christian Persch
none Details | Review
ported to embed strings (9.83 KB, patch)
2004-12-19 16:48 UTC, Christian Persch
none Details | Review

Description Xan Lopez 2004-03-09 23:06:17 UTC
I'd be nice to show a tooltip with the URL of links when you hover over
them,  this (seeing the URL where a link points) is the only reason I
actually have the status bar enabled, and I'd like to get rid of it :)
Comment 1 spark 2004-03-10 17:01:52 UTC
Sounds reasonable.

Need to think about how this would combine with tooltips shown via the
<title> tag (prolly just new line i suppose).
Comment 2 spark 2004-03-10 17:04:07 UTC
Btw, Opera does this already.
Comment 3 spark 2004-03-10 20:03:59 UTC
Created attachment 25479 [details]
Opera screenshot
Comment 4 Christian Persch 2004-03-18 22:04:41 UTC
Created attachment 25783 [details] [review]
proof-of-concept
Comment 5 Christian Persch 2004-03-22 16:02:57 UTC
Created attachment 25884 [details] [review]
complete solution, does not need to patch mozilla sources
Comment 6 Christian Persch 2004-03-22 19:56:36 UTC
Created attachment 25893 [details] [review]
you'll also need this patch in addition to the last one
Comment 7 Christian Persch 2004-04-08 22:12:56 UTC
Comment on attachment 25783 [details] [review]
proof-of-concept

Marking obsolete attachments in open bugs.
Comment 8 Christian Persch 2004-04-29 12:35:01 UTC
Created attachment 27203 [details] [review]
updated patch
Comment 9 Christian Persch 2004-06-01 13:56:04 UTC
Marco, can we make a decision on this?
Comment 10 Christian Persch 2004-10-13 10:54:36 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 11 Christian Persch 2004-12-19 16:48:26 UTC
Created attachment 35010 [details] [review]
ported to embed strings
Comment 12 Reinout van Schouwen 2004-12-19 17:30:02 UTC
I'm not convinced this is useful. First of all this conflicts with the TITLE
attribute of hyperlinks, which is used to display a tooltip for a link by most
visual browsers.[1][2] Secondly, a tooltip obscures other text on the page, and
you have to cut it off somewhere because dynamically generated URLs often are
ridiculously long.

[1]http://www.devguru.com/features/knowledge_base/A100216.html
[2]http://lists.w3.org/Archives/Public/w3c-wai-ig/2003JanMar/0171.html
Comment 13 Liam Quin 2004-12-21 23:31:42 UTC
Part of the underlying problem here is that tooltips are "broken by design" --
really there are lots of pieces of information that could pop up, some of which
may need formatting.  I don't want to see URLs on my screen somewhere I can't
copy and paste them directly for example -- it's just frustrating.

SVG 1.2 is moving to a structure in which link titles are in content, not
attributes, so you can have a superscript, or ruby anotations for Kanji, or an
emphasised word in a link title.  Maybe even a link.

Maybe an answer is small documents that fade away with time (yay translucency!)
or that stay around if you move the mouse pointer (or tab) onto them, and then
can contain a "link information" button or link.

You also have to make sure that any solution works with 4KByte URLs and not just
"www.google.com".

The second problem, though, is that a URI is just an identifier.  Maybe
increasing the visibility of URIs in this way encourages people to read into
them meaning that, strictly speaking, isn't there?  Worse, maybe it encourages
people to design Web sites that assume people will navigate by writing down URIs
on scraps of paper and re-keying them??  That would be a step back for accessibilty.

If the status bar is in the way, what about a patch to make it go away when
it's not needed?

I think really I'm (1) not in favour of adding weird hacks to "geekify" tooltips
without a major rethink of their purpose, and (2) not wanting to emphasise URI
contents in this way without knowing why people want it.

Dragging the link onto the desktop should probably either open it or make an
icon that opens the corresponding Web page when activated.  There's a "copy
link" context menu item.  And there's the status bar.  It's enough!

Liam
Comment 14 Reinout van Schouwen 2006-03-10 17:49:27 UTC
How about showing an URL tooltip only if the status bar is hidden? Maybe it would be best to do what slashdot does: show only the domain name of the linked URL, to keep it short. If the link has a TITLE attribute, the domain name can be put on a new line, like we currently do with tooltips for toolbar bookmarks.
Comment 15 Christian Persch 2006-03-10 18:18:12 UTC
Yes, I'm definitely considering this for 1.11.
Comment 16 Matthew Paul Thomas (mpt) 2006-06-19 12:15:05 UTC
Ah, the nostalgia. https://bugzilla.mozilla.org/show_bug.cgi?id=45733
Comment 17 Christian Persch 2006-06-26 16:32:51 UTC
We could do the underlining using a UA stylesheet, with the rules from https://bugzilla.mozilla.org/show_bug.cgi?id=14027#c19:

a[href][target]:not([target="_self"]),
link[href][target]:not([target="_self"]) {
/* ideally we'd use a special property, (see https://bugzilla.mozilla.org/show_bug.cgi?id=14027#c10) but this will do */
  text-decoration: none;
  border-bottom: 2px dotted;
}
Comment 18 Xan Lopez 2009-03-20 10:35:13 UTC
I've added a translucent statusbar with the link-message that only appears when the normal statusbar is hidden. As far as I'm concerned this fixes the bug, so I'm closing it (only took 5 years!).