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 685901 - Display issue with wiki style links in notifications
Display issue with wiki style links in notifications
Status: RESOLVED DUPLICATE of bug 693612
Product: gnome-shell
Classification: Core
Component: message-tray
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-10 16:55 UTC by Elad Alfassa
Modified: 2013-03-06 20:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of the symptom (48.32 KB, image/png)
2012-10-10 16:55 UTC, Elad Alfassa
Details

Description Elad Alfassa 2012-10-10 16:55:47 UTC
Created attachment 226188 [details]
Example of the symptom

The link is not shown properly, see screenshot.
It's simple to reproduce, simply open a terminal and type

notify-send "Blah, Blah" "Blah, blah, blah, blah, blah, https://fedoraproject.org/w/Really_Really_Really_Really_Long_URL"
Comment 1 Elad Alfassa 2012-10-10 16:57:46 UTC
Interestingly enough, if you split the link from the text line with a linebreak like bugzilla did in my reproduce command example, you won't see the bug.
Comment 2 Luke Macken 2013-03-06 19:56:10 UTC
This change gets the URLs to render properly, however they are not underlined, which is against the notification-spec. I also tried adding underline="single" to the <span>, but that didn't change anything.

This makes me think it could potentially be a pango issue?

--- gnome-shell/js/ui/messageTray.js.orig       2013-03-06 14:51:51.0041882 13 -0500                                                                   
+++ gnome-shell/js/ui/messageTray.js    2013-03-06 14:51:56.486241559 -0500
@@ -199,7 +199,7 @@                                                        
         for (let i = 0; i < urls.length; i++) {                           
             let url = urls[i];                                            
             let str = this._text.substr(pos, url.pos - pos);              
-            markup += str + '<span foreground="' + this._linkColor + '"><u>' + url.url + '</u></span>';                                              
+            markup += str + '<span foreground="' + this._linkColor + '">' + url.url + '</span>';                                                     
             pos = url.pos + url.url.length;                               
         }                                                                 
         markup += this._text.substr(pos);
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-03-06 20:00:14 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


It turns out it's a cogl bug that's been fixed upstream.

*** This bug has been marked as a duplicate of bug 693612 ***