notification summary doesn't change for synchronous messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Ara Pulido | ||
Precise |
Fix Released
|
Critical
|
Ara Pulido | ||
notify-osd (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
Precise SRU info:
[Impact]
* The patch provide a fix to provide the "x-canonical-
[Test Case]
* This patch make following command behave correctly.
#notify-send -h string:
In current implementation, both Summary and Body text didn't get updated.
[Regression Potential]
* The risk should be minimal, the patch should only affect "x-canonical-
* The patch is already tested in OEM projects.
[Other Info]
*** Original bug description:
When you send a notification in Synchronous with another, the both Summary and Body text doesn't get updated.
As an example:
while true; do
notify-send "first title" "first subtitle" -i dialog-info -h string:
sleep 1
notify-send "second title" "second subtitle" -i dialog-error -h string:
sleep 1
done
If you run the above, what you should see is the Icon changing, but the summary/body text staying the same.
Is this expected behaviour from the libnotify library? Or is this an overlooked feature?
Regards
Iain
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Package: libnotify-bin
Priority: optional
Section: universe/utils
Installed-Size: 72
Maintainer: Ubuntu Core Developers <email address hidden>
Original-
Architecture: amd64
Source: libnotify
Version: 0.4.5-0ubuntu1
Depends: libc6 (>= 2.3.4), libglib2.0-0 (>= 2.12.0), libnotify1 (>= 0.4.4), libnotify1-gtk2.10
Filename: pool/universe/
Size: 7248
MD5sum: 332bacf4fad51bb
SHA1: ecbcfde7197c893
SHA256: 15e1b7d9858a1c8
Description: sends desktop notifications to a notification daemon
A library that sends desktop notifications to a notification daemon, as
defined in the Desktop Notifications spec. These notifications can be
used to inform the user about an event or display some form of
information without getting in the user's way.
.
This package contains the binary which sends the notification.
Bugs: https:/
Origin: Ubuntu
Task: xubuntu-desktop
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Ubuntu Sponsors: Pending requested
-
Diff: 79 lines (+33/-21)2 files modifieddebian/changelog (+10/-0)
src/stack.c (+23/-21)
- Ubuntu branches: Pending requested
-
Diff: 79 lines (+33/-21)2 files modifieddebian/changelog (+10/-0)
src/stack.c (+23/-21)
- Mirco Müller (community): Approve
- Matthew Paul Thomas (community): Approve (design)
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 16 lines (+6/-0)1 file modifiedsrc/stack.c (+6/-0)
description: | updated |
description: | updated |
summary: |
- notification title doesn't change for synchronous messages + notification summary doesn't change for synchronous messages |
Changed in notify-osd (Ubuntu): | |
importance: | Undecided → Low |
Changed in notify-osd (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in oem-priority: | |
assignee: | nobody → Ara Pulido (apulido) |
description: | updated |
Changed in oem-priority: | |
status: | New → In Progress |
Changed in notify-osd: | |
status: | Fix Committed → Fix Released |
Changed in oem-priority: | |
importance: | Undecided → Critical |
Changed in notify-osd (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in oem-priority: | |
status: | In Progress → Fix Released |
no longer affects: | notify-osd |
It has nothing at all to do with libnotify, and I have no idea what the supposed behavior for this should be. The "synchronous" hint given is entirely private to Canonical's Notify-OSD. The standard way to update a notification (notify_ notification_ update( ) then resend the notification) isn't supported by notify-send.