GNOME Bugzilla – Bug 685901
Display issue with wiki style links in notifications
Last modified: 2013-03-06 20:00:14 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"
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.
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);
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 ***