Comment 4 for bug 963805

Revision history for this message
Allis Tauri (allista) wrote :

Unfortunately, it's still the same.
Typical debug message on chromify-osd notification goes like this:

2012-03-25 13:43:11,142 Notification DEBUG:
--------------------------------------------------
Message created at: Sun 25 Mar 2012 01:43:11 PM
app_name: 'chromify-osd'
replaces_id: dbus.UInt32(0L)
app_icon: '/tmp/chromifyosd_image'
summary: 'New mail from Facebook: Yaroslav Ashikhmin (friends with Alina Korbut) also commented on Alina Korbut...'
body: 'facebook Hi Allis, Yaroslav Ashikhmin (friends with Alina Korbut) also commented on Alina'
actions: dbus.Array([], signature=dbus.Signature('s'))
expire_timeout: dbus.Int32(-1)
hints:
--------------------------------------------------
The file /tmp/chromifyosd_image contains icon of the last, not the first notification — that I've checked.

Additionally here's a java console log line from Chrome which shows standard message from chromify-osd:
"Dispatched! Someone liked your post ... http://cs305201.userapi.com/u26291096/e_e2714c5d.jpg"
And this is the corresponding java-script code:
——————————————————————————————————
var chromifyOSDComEvent = document.createEvent("Event");
chromifyOSDComEvent.initEvent("chromifyOSDComEvent", true, true);

var container = document.createElement("div");
var c1 = document.createElement("div");
c1.innerHTML = title;
var c2 = document.createElement("div");
c2.innerHTML = body;
var c3 = document.createElement("div");
c3.innerHTML = iconUrl;
var c4 = document.createElement("div");
c4.innerHTML = "text";
container.appendChild(c1);
container.appendChild(c2);
container.appendChild(c3);
container.appendChild(c4);
container.id = "chromifyOSDComObject";
container.style.display = "none !important";
document.body.appendChild(container);

document.dispatchEvent(chromifyOSDComEvent);
console.log("Dispatched!", title, body, iconUrl);
——————————————————————————————————

Maybe I should file the bugreport to chromify-osd instead?