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 650314 - Notifications Contain Tags in Xubuntu
Notifications Contain Tags in Xubuntu
Status: RESOLVED DUPLICATE of bug 649277
Product: banshee
Classification: Other
Component: User Interface
2.0.0
Other Linux
: Normal minor
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-16 13:29 UTC by Keith
Modified: 2011-06-27 12:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A picture of the incorrectly formatted notifications (16.22 KB, image/jpeg)
2011-05-16 13:29 UTC, Keith
Details

Description Keith 2011-05-16 13:29:51 UTC
Created attachment 187913 [details]
A picture of the incorrectly formatted notifications

Hi all.  I've never filed a bug report before so bear with me.  I'm running Xubuntu 11.04 with Banshee 2.0.0 on XFCE 4.8.0.  

The picture I attached should explain the problem pretty well.  Basically, instead of saying: 

Break on Through
by The Doors
from The Doors

My Xubuntu notifications say: 

Break on Through
<span color="#919191" size="small">by</span>The Doors
<span color="#919191" size="small">from</span>The Doors

If more information is needed, be specific, preferably with specific commands; I'm too n00b to know where log files are and stuff.
Comment 1 finswimmer77 2011-06-17 06:16:58 UTC
I can confirm this bug under ArchLinux using Xfce as well.

IIRC this bug was allready in the 1.8-series.

The problem is, that the closing <span>-Tag isn't correct. There is ">\span>" instead of "</span>".

I think this problem could be solved easily.
Comment 2 Michael Martin-Smucker 2011-06-23 17:53:27 UTC
Well, I was hoping it would be as simple as a typo in the source, but I haven't found anything so far.  If anyone else wants to look for clues, I think this would be the right place to start: http://git.gnome.org/browse/banshee/tree/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs#n499

Anyway, I'm confirming this, since the problem isn't limited to just one person.
Comment 3 finswimmer77 2011-06-24 14:28:45 UTC
Hello,
i found out, that it is not a bug of banshee.

I tried out the following command in the terminal:

notify-send Test "<span style=\"font-weight:bold;\">test</span>"

An this is what i receive in the notifaction-area:

Test
<span style="font-weight:bold;">test>/span>

It seems to be a bug in libnotify or the notification daemon, which uses libnotify.

Would be interessting, whether the problem is only under xfce, or under gnome or kde as well.

fin swimmer
Comment 4 Michael Martin-Smucker 2011-06-24 15:04:27 UTC
Thanks for testing this!  I just ran the notify-send test on Ubuntu 11.04 with Gnome, and I didn't see any problems.  It seems like this issue is specific to xfce/Xubuntu.  Someone should probably make them aware of this (probably on Launchpad somewhere?).

Anyway, I'm closing the report here, as this doesn't seem to be our bug.  Thanks everyone for the report and the testing.
Comment 5 Keith 2011-06-24 16:42:14 UTC
As my duty as OP, I will notify the XFCE/Xubuntu authorities.
Comment 6 Michael Martin-Smucker 2011-06-24 19:18:23 UTC
*** Bug 649277 has been marked as a duplicate of this bug. ***
Comment 7 finswimmer77 2011-06-26 07:38:48 UTC
@Keith. Have you already notified xfce? Can you post the link to the bugreport?

thx
Comment 8 Keith 2011-06-26 07:58:23 UTC
I haven't.  I searched launchpad for 'xubuntu' and 'xfce' and got many results, and am not entirely where to what.  Would you do the honors, since you no doubt know what you're doing?
Comment 9 finswimmer77 2011-06-26 08:56:23 UTC
I opened a report here: https://bugzilla.xfce.org/show_bug.cgi?id=7773
Comment 10 Michael Martin-Smucker 2011-06-27 12:48:33 UTC
Thanks for opening that report with XFCE -- at the very least, they should probably change that &gt; to a &lt;.  However, it's been pointed out in Bug 649277 that notification systems are under no obligation to do anything special with <span> tags, so Banshee probably shouldn't be using them in the first place.  I'm marking this as a duplicate of the earlier Bug 649277, so feel free to continue the discussion there.

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