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 744907 - Notification loses body text markup when expanded
Notification loses body text markup when expanded
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-21 18:57 UTC by Sebastian Keller
Modified: 2015-02-21 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
calendar: Fix message markup getting lost (2.28 KB, patch)
2015-02-21 19:21 UTC, Florian Müllner
none Details | Review

Description Sebastian Keller 2015-02-21 18:57:49 UTC
In 3.15.90 when expanding a notification by hovering it, the body text loses its markup.

Example:
notify-send "title" "<i>body</i>"
Comment 1 Florian Müllner 2015-02-21 19:20:59 UTC
The following fix has been pushed:
167610c calendar: Fix message markup getting lost
Comment 2 Florian Müllner 2015-02-21 19:21:06 UTC
Created attachment 297527 [details] [review]
calendar: Fix message markup getting lost

We reuse the old body text on useMarkup changes and for expanded
labels. However just taking it from the label actor does not work
when markup is used, as once applied it will be stripped from
ClutterText:text.
So to preserve markup, keep our own copy of the original string
around.