← Back to team overview

dx-packages team mailing list archive

[Bug 642953] [NEW] [lucid] Confirmation bubble summary and body not updated with notify-send

 

You have been subscribed to a public bug:

When you use notify-send to send a confirmation (with the x-canonical-
private-synchronous hint) only the icon of an existing confirmation
bubble is updated. The summary and body is unchanged. This can be
confusing if you do something and get a "it's broken" confirmation,
change it quickly and not get the icon of an "all good" confirmation but
the text still says "is's broken".

The problem can be reproduced by two notify-send commands:

#!/bin/bash
notify-send --hint string:x-canonical-private-synchronous: \
	--icon=/usr/share/icons/gnome/scalable/emotes/face-raspberry.svg \
	Replace \
	"This text should be replaced"
sleep 1
notify-send --hint string:x-canonical-private-synchronous: \
	--icon=/usr/share/icons/gnome/scalable/emblems/emblem-default.svg \
	Final \
	"This text should be shown now"

This shows the first confirmation bubble one second and then updates
only the icon to the second confirmation. The result is a confirmation
bubble with the second icon (emblem-default.svg) the summary "Replace"
and the text "This text should be replaced".

This bug only hits if an existing confirmation bubble gets replaced. If
the first one fades out the second one is shown correctly. To verify
that just increase the sleep time to something above 2.5 (e.g. "sleep
3").

** Affects: notify-osd (Ubuntu)
     Importance: Low
         Status: Fix Released


** Tags: confirmation replace
-- 
[lucid] Confirmation bubble summary and body not updated with notify-send
https://bugs.launchpad.net/bugs/642953
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.