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 668258 - Topic ellipsis acts as a link when omitted text contains a link
Topic ellipsis acts as a link when omitted text contains a link
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkLabel
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: 735719 735732
Blocks:
 
 
Reported: 2012-01-19 11:07 UTC by Will Thompson
Modified: 2014-09-04 02:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A chat room topic, expanded and collapsed, with a URL at the end (12.49 KB, image/png)
2012-01-19 11:07 UTC, Will Thompson
Details

Description Will Thompson 2012-01-19 11:07:48 UTC
Created attachment 205615 [details]
A chat room topic, expanded and collapsed, with a URL at the end

When a chat room's topic is too long to fit on one line, there's an expander which allows the user to show and hide the second and subsequent lines. When collapsed, the topic ends with an ellipsis.

If the ellipsised portion of the text contains a URL, the ellipsis itself becomes a clickable link which opens that URL. See attached screenshot.

This is probably GtkLabel's fault.
Comment 1 Guillaume Desmottes 2012-01-20 12:22:19 UTC
Yeah looks like a Gtk+ bug.
Comment 2 Matthias Clasen 2014-08-30 18:15:54 UTC
To fix this, we need a way to identify the parts of the text that are ellipsized away. See the dependent pango bug
Comment 3 Matthias Clasen 2014-08-30 19:15:20 UTC
This is not specific to links, btw. It is just how pango attributes interact with ellipsization