Carriage returns in bubble title should be converted to a single space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Fix Released
|
Low
|
Mirco Müller | ||
Karmic |
Fix Released
|
Low
|
Mirco Müller |
Bug Description
Binary package hint: notify-osd
Sending a notification like:
notify-send "New Line
This is another line"
should make a bubble appear as "New Line this is another line"
https:/
ProblemType: Bug
Architecture: i386
Date: Tue Jul 21 16:30:56 2009
DistroRelease: Ubuntu 9.10
GtkTheme: Human
IconTheme: Human
MachineType: LENOVO 7664R5G
NonfreeKernelMo
Package: notify-osd 0.9.15-0ubuntu1
ProcCmdLine: root=UUID=
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu5
libgl1-mesa-glx 7.5-1ubuntu1
libdrm2 2.4.11-1ubuntu1
xserver-
xserver-
SourcePackage: notify-osd
Uname: Linux 2.6.31-3-generic i686
WindowManager: compiz
dmi.bios.date: 08/15/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETC4WW (2.24 )
dmi.board.name: 7664R5G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 7664R5G
dmi.product.
dmi.sys.vendor: LENOVO
Related branches
Changed in notify-osd (Ubuntu Karmic): | |
importance: | Undecided → Low |
Changed in notify-osd (Ubuntu Karmic): | |
assignee: | nobody → Mirco Müller (macslow) |
milestone: | none → ubuntu-9.10-beta |
Changed in notify-osd: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Mirco Müller (macslow) |
milestone: | none → ubuntu-9.10-beta-freeze |
Changed in notify-osd (Ubuntu Karmic): | |
status: | New → Triaged |
Changed in notify-osd: | |
milestone: | ubuntu-9.10-beta-freeze → ubuntu-9.10 |
Changed in notify-osd (Ubuntu Karmic): | |
milestone: | ubuntu-9.10-beta → ubuntu-9.10 |
Changed in notify-osd: | |
status: | Triaged → Fix Committed |
Changed in notify-osd (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
Changed in notify-osd: | |
status: | Fix Committed → Fix Released |
Changed in notify-osd (Ubuntu Karmic): | |
status: | Fix Committed → Fix Released |
no longer affects: | notify-osd |
Fixing this bug causes a regression in Banshee, Exaile, and possibly some other media players I'm not aware about. At least in the case of Banshee, the "Now Playing" notifications are formatted as such:
"${title}
<i>${artist}</i>"
And it has worked pretty nicely for quite some time already. The whole newline-to-space change has caused it to become "${title} ${artist}" (note that formatting is also removed) so that my title and artist has been squashed together into one line and look like a single string.
If you're going to be making changes like this, do change the wikipage accordingly beforehand, please, and announce it somewhere somehow. Here's a snippet of the wikipage: ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
=======
Body text
The body should be 0.9 × the standard application font size, of color #eaeaea, standard weight, and should not contain any extra formatting.
In the body text, any string of one or more consecutive whitespace characters that contains at least one newline (U+000D CARRIAGE RETURN (CR), U+000A LINE FEED (LF), or U+000D CARRIAGE RETURN (CR) immediately followed by U+000A LINE FEED (LF)), even if a mixture of those, should be treated as a single newline. Then for each line in the text, any string of one or more consecutive (non-newline) whitespace characters, even if a mixture of them, should be treated as a single space, and leading and trailing whitespace should not be presented. ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
=======