← Back to team overview

dx-packages team mailing list archive

[Bug 404658] Re: notification summary doesn't change for synchronous messages

 

** Branch linked: lp:ubuntu/trusty-proposed/notify-osd

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/404658

Title:
  notification summary doesn't change for synchronous messages

Status in Notify OSD:
  Fix Committed
Status in OEM Priority Project:
  In Progress
Status in OEM Priority Project precise series:
  In Progress
Status in “notify-osd” package in Ubuntu:
  Confirmed
Status in “notify-osd” source package in Precise:
  New

Bug description:
  
  Precise SRU info:

  [Impact]

   * The patch provide a fix to provide the "x-canonical-private-
  synchronous" to work with notifications different with
  LAYOUT_ICON_INDICATOR layout. Currently the "x-canonical-private-
  synchronous" interface only provide this layout to support brightness
  and volume control.

  [Test Case]

   * This patch make following command behave correctly.

  #notify-send -h string:x-canonical-private-synchronous:1 "wireless"
  "disable" -i notification-network-wireless-none ; sleep 1 ; notify-
  send -h string:x-canonical-private-synchronous:1 "bluetooth" "enable"
  -i bluetooth

  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-private-synchronous" interface. This interface is only used
  in brightness and volume hotkey, and layout is different.

   * 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:x-canonical-private-synchronous:test
      sleep 1
      notify-send "second title" "second subtitle" -i dialog-error -h string:x-canonical-private-synchronous:test
      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_RELEASE=9.04
  DISTRIB_CODENAME=jaunty
  DISTRIB_DESCRIPTION="Ubuntu 9.04"

  Package: libnotify-bin
  Priority: optional
  Section: universe/utils
  Installed-Size: 72
  Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
  Original-Maintainer: Andre Filipe de Assuncao e Brito <decko@xxxxxxxxxxxxxxx>
  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/libn/libnotify/libnotify-bin_0.4.5-0ubuntu1_amd64.deb
  Size: 7248
  MD5sum: 332bacf4fad51bb2a32d17ed08ae66bc
  SHA1: ecbcfde7197c8934b7883a8d561ba02ba502adf2
  SHA256: 15e1b7d9858a1c89f7bd826b10b16e2c0ee305e4268bd9bd0b1be3469eb9aaf9
  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://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Task: xubuntu-desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/notify-osd/+bug/404658/+subscriptions