hyperair | mac_v: do you know anything about notify-osd ignoring newlines in notifications? | 10:28 |
---|---|---|
mac_v | hyperair: huh? you mean not appending im lines? but instead showing them as bubbles? | 10:29 |
mac_v | separate * | 10:29 |
mac_v | hyperair: but i think MacSlow/Sidi would know more about this | 10:30 |
hyperair | nono | 10:30 |
hyperair | i'm talking something like notify-send title "body\nwith\nnew\nline" | 10:30 |
hyperair | SiDi: ^? | 10:30 |
hyperair | it's breaking banshee's now playing notifications | 10:31 |
hyperair | and the wiki says that newlines should be treated as well newlines | 10:31 |
hyperair | rather than ignored | 10:31 |
mac_v | hyperair: $ notify-send "Title" "Body" imagename | 10:31 |
hyperair | banshee's now playing notifications are formatted like: $title\n<i>$artist</i> | 10:31 |
hyperair | note the \n | 10:32 |
mac_v | oh that | 10:32 |
mac_v | dont know | 10:32 |
hyperair | it's ignored, so it ends up all in one line, and there's no way to see the difference between the title and the artist | 10:32 |
SiDi | hyperair: i type my command in gedit with real CR and then i copy it to terminal | 10:32 |
hyperair | hmm macslow's not around eh =( | 10:32 |
hyperair | SiDi: and does notify-osd show it as a newline? | 10:33 |
SiDi | ie. notify-send "hi <new line here> hi" | 10:33 |
SiDi | yes | 10:33 |
hyperair | SiDi: in banshee's case it seems to be ignoring the newline, treating it as a normal whitespace char | 10:33 |
SiDi | somehow \n gets interpreted as '\''n' if you type it | 10:33 |
mac_v | hyperair: i'v tried /n and it *used to* work with thunderbird... but now , i'l stopped using the extension | 10:33 |
mac_v | \n* | 10:33 |
hyperair | SiDi: well i typed notify-send title "body<enter>body" | 10:33 |
SiDi | it works fine in exaile | 10:33 |
hyperair | SiDi: could you pastebin the output of `dbus-monitor interface=org.freedesktop.Notifications` when exaile sends out one of its notifications please? | 10:35 |
SiDi | err, how do i do that? :D | 10:35 |
SiDi | oh, im stupid | 10:35 |
hyperair | erm run said command and then press your next media button key or something? | 10:35 |
SiDi | sec | 10:36 |
hyperair | in addition, notify-osd seems to be ignoring the album art | 10:36 |
SiDi | http://paste.ubuntu.com/286063/ | 10:37 |
hyperair | hmm how strange | 10:39 |
hyperair | SiDi: what is "Cry"? | 10:40 |
hyperair | SiDi: it seems to be the title of the notification | 10:40 |
hyperair | is it the album name or something? | 10:40 |
SiDi | its the title | 10:41 |
SiDi | We use the track title as the bubble title | 10:41 |
SiDi | then "By foo\nFrom bar" | 10:41 |
SiDi | but i changed mines a little :p | 10:41 |
hyperair | hmm.. | 10:44 |
mac_v | hyperair: how are you sending notify send? this is what i used for thunderbird > dy = body + subject + " ,from " + author + "\r\n" | 10:45 |
mac_v | oops > body = body + subject + " ,from " + author + "\r\n" | 10:45 |
hyperair | mac_v: from a terminal. | 10:45 |
hyperair | to be a little moer sure, i did something like this as well: | 10:46 |
hyperair | $ perl | 10:46 |
hyperair | system("notify-send","title","body\nbody\n"); | 10:46 |
hyperair | but the newlines were ignored | 10:46 |
hyperair | SiDi: what version of notify-osd? | 10:46 |
SiDi | hm, 0.9.18 | 10:48 |
SiDi | works same with the jaunty and trunk | 10:48 |
SiDi | brb | 10:48 |
hyperair | i'm using 0.9.23 | 10:48 |
hyperair | and this is behaviour i only noticed recently | 10:49 |
hyperair | geez can you all please follow/update the wikipage when things are changed? | 10:49 |
hyperair | this is so annoying | 10:49 |
mac_v | hyperair: there seems to be a bug , it seems to ignore "\" | 10:54 |
hyperair | that's another matter entirely | 10:55 |
hyperair | i'm talking about \n | 10:55 |
hyperair | as in U+000D | 10:55 |
hyperair | or was it 0A | 10:55 |
mac_v | hyperair: yeah ,since its ignoring '\' , i think the problem is being caused | 10:55 |
mac_v | but anyways ;) | 10:55 |
mac_v | both \r or \n is not working here for me now | 10:56 |
hyperair | \ is another character entirely! | 10:56 |
hyperair | it's not passed to notify-osd as a literal \ | 10:56 |
mac_v | i understand that... but saying :) | 10:57 |
* hyperair sighs | 10:58 | |
hyperair | bah whatever | 10:58 |
* hyperair begins chanting some gibberish in an attempt to summon macslow | 10:58 | |
hyperair | +and earning weird looks from others in the same room as i am | 10:59 |
hyperair | https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/402247 | 11:12 |
ubot4 | Launchpad bug 402247 in notify-osd "Carriage returns in bubble title should be converted to a single space" [Medium,Fix released] | 11:12 |
hyperair | ...what is the big idea?! | 11:12 |
* hyperair curses repeatedly | 11:12 | |
hyperair | it's fine if you're going to remove actions, or even formatting, but for the love of god leave my newlines alone!! | 11:12 |
hyperair | $%^&*() | 11:12 |
hyperair | MacSlow: aha you're here! | 16:07 |
hyperair | or are you? | 16:07 |
MacSlow | hyperair, I am but in a phone-conf at a dev-sprint | 16:07 |
hyperair | MacSlow: https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/402247 | 16:07 |
hyperair | ah. i see | 16:07 |
ubot4 | Launchpad bug 402247 in notify-osd "Carriage returns in bubble title should be converted to a single space" [Medium,Fix released] | 16:07 |
hyperair | well take your time. basically i'd like to talk to you about that | 16:07 |
MacSlow | hyperair, if there's something... email better | 16:08 |
hyperair | i did post my concerns on that bug report. | 16:08 |
hyperair | please take a look when you have time | 16:08 |
=== chaotic_ is now known as chaotic | ||
=== beuno is now known as beuno-lunch | ||
=== beuno-lunch is now known as beuno | ||
Laney | wiggle | 19:52 |
Laney | MacSlow: Are you around to look at a dbus log of org.fd.notifications? Some images that Banshee is trying to display aren't shown | 19:53 |
Laney | http://orangesquash.org.uk/~laney/dbus.log | 19:53 |
MacSlow | Laney, in meetings at a dev-sprint... not really here | 19:58 |
Laney | it's alright, we are async | 19:59 |
Laney | you can reply when you get time | 19:59 |
hyperair | MacSlow: re what Laney said, further testing appears to show that notify-osd rejects all non-square icons. is that supposed to happen? | 20:47 |
hyperair | specifically the {icon,image}_data icons. the ones passed by path appear to work. | 20:48 |
MacSlow | hyperair, no... I can pass a non-square icon... and see it being displayed | 20:52 |
hyperair | MacSlow: via notify-send? | 20:52 |
MacSlow | yup... works just fine here | 20:53 |
hyperair | MacSlow: the ones passed via the app_icon string as mentioned here: http://www.galago-project.org/specs/notification/0.9/x408.html#command-notify work fine | 20:53 |
hyperair | MacSlow: the ones i'm talking about are those taht are passed as a byte array | 20:53 |
hyperair | notify-send passes it via the app_icon string | 20:53 |
hyperair | take out dbus-monitor and watch it | 20:54 |
MacSlow | hyperair, no time to jump into debugging yet... please file a bug with a detailed description showing how to reproduce this. | 20:54 |
hyperair | alright | 20:55 |
hyperair | wait | 20:55 |
hyperair | i have no idea how to reproduce this | 20:55 |
hyperair | i mean there's no way you can reproduce this using notify-send, at least | 20:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!