Gmail messages might be missed after clearing notifications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Pat McGowan | ||
Ubuntu Push Notifications |
Fix Released
|
Undecided
|
Niklas Wenzel | ||
ubuntu-push (Ubuntu) |
Fix Released
|
Undecided
|
Niklas Wenzel | ||
Vivid |
Fix Released
|
Undecided
|
Niklas Wenzel |
Bug Description
IMPORTANT: Please install the fix for LP: #1434521 or don't use the "Clear all" button for removing messages.
Sometimes no notifications are shown for emails which arrive directly after clearing existing notifications from the messaging menu.
How to reproduce:
1) Send yourself three emails and wait for the Gmail overflow item to appear in the messaging menu.
2) Remove all Gmail notifications from the messaging indicator.
3) Immediately send yourself another mail.
Expected behaviour:
Another notification should be shown the next time account-polld is poked.
What happens:
No notification is shown.
Why that happens:
ubuntu-push still passes the removed messages to account-polld (ignoring the Gone flag that was set). Therefore, it believes those are still being shown and doesn't display another one.
Related branches
- John Lenton (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedmessaging/messaging.go (+1/-1)
- Ubuntu Push Hackers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedmessaging/messaging.go (+1/-1)
- John Lenton (community): Approve
-
Diff: 128 lines (+50/-7)3 files modifiedmessaging/messaging.go (+8/-3)
messaging/messaging_test.go (+40/-2)
ubuntu-push-client.go (+2/-2)
- Samuele Pedroni: Approve
-
Diff: 431 lines (+136/-104)5 files modifiedclient/service/postal.go (+0/-2)
debian/rules (+2/-2)
messaging/cmessaging/cmessaging.go (+0/-1)
messaging/messaging.go (+32/-49)
messaging/messaging_test.go (+102/-50)
- John Lenton (community): Approve
-
Diff: 736 lines (+260/-139)10 files modifiedclient/service/postal.go (+0/-2)
launch_helper/kindpool_test.go (+3/-3)
messaging/cmessaging/cmessaging.go (+0/-1)
messaging/messaging.go (+32/-49)
messaging/messaging_test.go (+102/-50)
server/acceptance/acceptanceclient.go (+6/-1)
server/acceptance/cmd/acceptanceclient.go (+1/-1)
server/acceptance/kit/api.go (+41/-7)
server/acceptance/kit/cliloop.go (+73/-23)
ubuntu-push-client.go (+2/-2)
- Samuele Pedroni: Approve
-
Diff: 705 lines (+257/-136)9 files modifiedclient/service/postal.go (+0/-2)
messaging/cmessaging/cmessaging.go (+0/-1)
messaging/messaging.go (+32/-49)
messaging/messaging_test.go (+102/-50)
server/acceptance/acceptanceclient.go (+6/-1)
server/acceptance/cmd/acceptanceclient.go (+1/-1)
server/acceptance/kit/api.go (+41/-7)
server/acceptance/kit/cliloop.go (+73/-23)
ubuntu-push-client.go (+2/-2)
Changed in ubuntu-push (Ubuntu): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in ubuntu-push (Ubuntu): | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww34-2015 |
status: | New → Confirmed |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
Changed in ubuntu-push: | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in ubuntu-push (Ubuntu Vivid): | |
assignee: | nobody → Niklas Wenzel (nikwen) |
Changed in ubuntu-push: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in ubuntu-push (Ubuntu Vivid): | |
status: | New → Fix Released |
Changed in ubuntu-push: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
MP is available now. :)
https:/ /code.launchpad .net/~nikwen/ ubuntu- push/gmail- messages- missed- fix/+merge/ 258206