No notifications for new mails
Bug #1421923 reported by
costales
This bug affects 130 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
In Progress
|
High
|
Pat McGowan | ||
Online Accounts: Account plugins |
New
|
Undecided
|
Unassigned | ||
account-plugins (Ubuntu) |
In Progress
|
Undecided
|
Unassigned | ||
account-polld (Ubuntu) |
In Progress
|
Undecided
|
Alberto Mardegan |
Bug Description
Hi!
In the BQ E4.5 Ubuntu Edition, I'm not getting notificactions for new mails.
Testing (by example)
1. Kill Dekko.
2. Send you an email.
3. Open Dekko.
4. Change quickly to another app before Dekko starts.
5. Bug: No notification
6. Go to Dekko: You'll see your new mail.
FYI as improvement, for me, in Dekko is not clear if Dekko checks the mail after X minutes or is a push notification.
Thanks in advance!
Related branches
lp:~mardy/account-polld/dekko-gmail
- Jonas G. Drange (community): Approve
- system-apps-ci-bot: Approve (continuous-integration)
-
Diff: 521 lines (+479/-0)3 files modifiedcmd/account-polld/main.go (+6/-0)
plugins/dekko/api.go (+127/-0)
plugins/dekko/dekko.go (+346/-0)
description: | updated |
Changed in dekko: | |
milestone: | 0.4.1 → none |
tags: | added: feature-request |
tags: | added: default |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
importance: | Undecided → High |
milestone: | none → backlog |
status: | New → In Progress |
Changed in dekko: | |
assignee: | nobody → Dan Chapman (dpniel) |
Changed in dekko: | |
status: | Triaged → In Progress |
Changed in dekko: | |
milestone: | none → 0.6.2 |
no longer affects: | dekko/0.6 |
Changed in dekko: | |
milestone: | 0.6.2 → 1.0-beta |
tags: | added: bq-feedback |
To post a comment you must log in.
Thanks for reporting this,
This is an ongoing known issue. We need support from the platform to be able to get notification support. Currently when the app goes to the background we get suspended and there's nothing we can do from there. We need a system hook that allows us to run in the background every X minutes to handle any new mails and deliver them to the post office. We have had talks previously with the platform team but they wern't going to do anything before RTM/OTA-1 :-(
The only other option we have is to have a cloud service that watches imap mailboxes and sends push notifications from there, but tbh I don't want to go that route as dekko would have to become a paid for app / maybe even subscription service as I personally do not have the finances to run a service like that for free, and I would like dekko to remain a free app in the store.
Dekko checks for mail at various points there is no set interval for checks, apart from when we are in an IDLE state it will send a NOOP to the imap server after 5 minutes to see if there is an update. Checks will also be made like on app start or when re-connecting after waking from suspension. This is still a tricky area to get right with the app suspension as IMAP is designed so that you can stay connected with very little overhead, but the app confinement security model breaks this when continuously waking and suspending our app & connections.
It's going to take some time to iron all this out, but it will get there.