notification (image update, gmail, calls) displayed twice

Bug #1473029 reported by Jean-Baptiste Lallement
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Medium
Alejandro J. Cura
indicator-messages (Ubuntu)
Confirmed
High
Unassigned

Bug Description

current build number: 54
device name: arale
channel: ubuntu-touch/rc-proposed/meizu.en
last update: 2015-07-09 08:43:49
version version: 54
version ubuntu: 20150708.1
version device: 20150706-a9e00a0
version custom: 20150707-800-5-34

Sometimes notifications are displayed twice in the indicator. It happens randomly with all kind of notifications (image update, gmail, calls) Push client logs shows a single notification. There is nothing specific to reproduce, sometimes it happens, sometimes it doesn't.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

push client logs

summary: - Image update notification displayed twice
+ notification (image update, gmail, dialer) displayed twice
description: updated
summary: - notification (image update, gmail, dialer) displayed twice
+ notification (image update, gmail, calls) displayed twice
description: updated
Revision history for this message
Lars Karlitski (larsu) wrote :

Thanks for reporting this. When it happens again, could you please paste the output of

  gdbus call --session --dest com.canonical.indicator.messages --object-path /com/canonical/indicator/messages/phone --method org.gtk.Menus.Start [0,1]

This is to find out whether the service thinks there are two messages (due to a bug or because something has posted two messages) or unity falsely shows two messages when there's actually only one.

Also, please attach ~/.cache/upstart/indicator-messages.log.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-messages (Ubuntu):
status: New → Confirmed
Changed in indicator-messages (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It just happened for a system update notification. Here is the output (slightly reindented) that shows 2 identical x-canonical-message-actions sections:

$ gdbus call --session --dest com.canonical.indicator.messages --object-path /com/canonical/indicator/messages/phone --method org.gtk.Menus.Start [0,1]
([
(uint32 0, uint32 0, [{'action': <'indicator.messages'>, 'action-namespace': <'indicator'>, 'x-canonical-type': <'com.canonical.indicator.root'>, ':submenu': <(uint32 1, uint32 0)>}]),
(1, 0, [{':section': <(uint32 1, uint32 1)>}, {':section': <(uint32 1, uint32 2)>}, {':section': <(uint32 1, uint32 3)>}]),
(1, 1,
[
{'x-canonical-message-actions': <<@aa{sv} []>>, 'target': <true>, 'x-canonical-time': <int64 1439206717000000>, 'x-canonical-type': <'com.canonical.indicator.messages.messageitem'>, 'x-canonical-app-icon': <('file', <'file:///usr/share/ubuntu/settings/system/system-settings.png'>)>, 'x-canonical-message-id': <'7f97870a-2d8658-2d4da9-2d819f-2d3f503499bc4f'>, 'label': <'Il existe une image du système à jour.'>, 'icon': <('file', <'file:///usr/share/ubuntu/settings/system/icons/settings-system-update.svg'>)>, 'x-canonical-text': <'Appuyez pour ouvrir le gestionnaire de mise à jour du système.'>, 'x-canonical-subtitle': <''>, 'action': <'ubuntu-system-settings.msg.7f97870a-2d8658-2d4da9-2d819f-2d3f503499bc4f'>},
{'x-canonical-message-actions': <<@aa{sv} []>>, 'target': <true>, 'x-canonical-time': <int64 1439206717000000>, 'x-canonical-type': <'com.canonical.indicator.messages.messageitem'>, 'x-canonical-app-icon': <('file', <'file:///usr/share/ubuntu/settings/system/system-settings.png'>)>, 'x-canonical-message-id': <'7f97870a-2d8658-2d4da9-2d819f-2d3f503499bc4f'>, 'label': <'Il existe une image du système à jour.'>, 'icon': <('file', <'file:///usr/share/ubuntu/settings/system/icons/settings-system-update.svg'>)>, 'x-canonical-text': <'Appuyez pour ouvrir le gestionnaire de mise à jour du système.'>, 'x-canonical-subtitle': <''>, 'action': <'ubuntu-system-settings.msg.7f97870a-2d8658-2d4da9-2d819f-2d3f503499bc4f'>}
]
),
(1, 3, [{'action': <'remove-all'>, 'label': <'Tout effacer'>, 'x-canonical-type': <'com.canonical.indicator.button'>}])
],)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

There is no log file named indicator-messages.log (only old archived files)

Changed in indicator-messages (Ubuntu):
status: Incomplete → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Medium
milestone: none → backlog
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.