Title doesn't normalize whitespace or limit length

Bug #402246 reported by Ara Pulido
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Medium
Mirco Müller

Bug Description

notify-osd 0.9.15-0ubuntu1, Ubuntu Karmic

notify-send "first
second
third
fourth
fifth
sixth
seventh
eighth
ninth
tenth
eleventh
twelfth
thirteenth
fourteenth
fifteenth
sixteenth
seventeenth
eighteenth
nineteenth
twentieth
" "body text"

What should happen: A bubble appears with the title "first second third fourth fifth sixth..." etc, enough to fill three lines inside the bubble, with an ellipsis at the end of the third line.

What actually happens: The bubble shows all the words provided, each on its own line.

Revision history for this message
Ara Pulido (ara) wrote :
Revision history for this message
Mirco Müller (macslow) wrote :

No, the specification explicitly states that: "The system should assume summary to be raw plain text, and use it as the title text of the bubble." (https://wiki.ubuntu.com/NotifyOSD#org.freedesktop.Notifications.Notify) So filtering should not be happening.

Revision history for this message
Mirco Müller (macslow) wrote :

Minor text-filtering needs to be done converting any '\n' to ' '.

Changed in notify-osd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Mirco Müller (macslow)
description: updated
summary: - Title has no limit of lines
+ Title doesn't normalize whitespace or limit length
Mirco Müller (macslow)
Changed in notify-osd (Ubuntu):
status: Triaged → In Progress
milestone: none → ubuntu-9.10
Mirco Müller (macslow)
Changed in notify-osd (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.