Re: [Banshee-List] Notification error
- From: Alexander Kojevnikov <alexander kojevnikov com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Notification error
- Date: Thu, 29 Oct 2009 11:19:02 +1100
2009/10/29 Christopher James Halse Rogers > This is due to NotifyOSD
stripping newlines (and other formatting) from
> notifications. Banshee is sending
> "Jesus Christ\n<i>Pose Soundgarden</i>" expecting it to be rendered as
> """
> Jesus Christ
> /Pose Soundgarden/
> """
> but NotifyOSD strips the newline & formatting, so you see
> """
> Jesus Christ Pose Soundgarden
> """.
>
> It's worth a bug, but I'm not sure what the best way to resolve it would
> be. Special-casing for notifyosd seems pretty ugly (particularly since
> you really are special-casing for notifyosd - you can't simply check for
> the "body-markup" capability[1]), and I'd expect resistance to using
> only the lowest-common-denominator capabilities everywhere.
>
> It's probably also worth a bug against the Ubuntu package; we could
> easily patch in a "by" rather than "\n", which would hide the problem
> for (I presume) almost all users of notifyosd.
>
> [1] https://wiki.ubuntu.com/NotifyOSD#sanitizing
Another alternative is using the patch from
https://bugzilla.gnome.org/show_bug.cgi?id=565453
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]