[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: savilerow Status: Triaged => Fix Committed ** Changed in: savilerow Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: ubuntu-push (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: ubuntu-push (Ubuntu) Status: In Progress => Fix Released ** Changed in: ubuntu-push (Ubuntu) Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: ubuntu-push (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: canonical-devices-system-image Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Branch linked: lp:~jonas-drange/ubuntu-push/lp1507510 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-push (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
PS When I mention lack of persistent notification, I mean I would expect the notification to show up (or at least highlight the messaging indicator) even though the app is theoretically in foreground, but behind the screen lock. I am aware that when the screen is on and the app is in foreground, there would be no notification, but the use case covered by this bug is real. ** Description changed: This bug has been reproduced with Telegram (both v1 and alpha2 v2), but would affect any app that makes use of our push API. Prerequisite: - application is in foreground - power button pressed, screen is off Action: - send a message to device Expected: - notification arrives (led, sound, notification visible at top after power button pressed) Actual: - - no notification (no led, no sound, not even a notification) + - no notification (no led, no sound, not even a persistent notification*) + * I would expect to see a notification even though the app is in + foreground, but behind the lock screen. Misc: I have confirmed the push comes through, as the ubuntu-push-client.log does show it correctly (while the screen is off, but there was no visible/audible notification) https://pastebin.canonical.com/142042/ phablet@ubuntu-phablet:~$ system-image-cli -i current build number: 28 device name: krillin channel: ubuntu-touch/rc/bq-aquaris.en last update: 2015-10-19 07:22:32 version version: 28 version ubuntu: 20151015 version device: 20150821-736d127 version custom: 20150925-901-35-40-vivid Device: BQ Aquarius E4.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
Thank you for looking into this XiaoGuo. I will elaborate further on your comment, as it seems some important details seem to be missing. > When the app is in the foreground and press the power button, On the webpage, > just send a message to your client (to the nick). > Then unlock the phone again, you will see that the message comes in and it is > shown there in the app. You will see the message comes in only because you turn the device back on. I saw multiple times (but not always!) the persistent notification would show up only *after* turning the device back on. Which misses the whole point of a notification concept. Essentially, you're seeing the message show up in the app only because you just turned the device on. > However, the problem is that there is no indication of the LED flashing or sound for the newly received notification. There's no sound or LED or, occasionally, even no persistent notification for the newly received notification. When I tested this, I saw two different cases: [before: device off, message sent, device stays silent even though it did receive a notification] - I turn the device back on, and the notification immediately shows up (and is audible + LED) - I turn the device back on, and there is even NO persistent notification (the one at the top), which is even more serious To summarize: app in foreground && screen off == no audio/LED, possibly not even a persistent notification once screen is back on -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: canonical-devices-system-image Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
Seems in client/service/postal.go it needs to check not just if the app is focused but also if the greeter is active and if so proceed with the notification. ** Changed in: canonical-devices-system-image Milestone: backlog => ww46-2015 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Also affects: ubuntu-push (Ubuntu) Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Bill Filler (bfiller) ** Changed in: canonical-devices-system-image Milestone: None => backlog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: canonical-devices-system-image Importance: Undecided => Medium ** Changed in: canonical-devices-system-image Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Changed in: ubuntu-push (Ubuntu) Assignee: (unassigned) => Jonas G. Drange (jonas-drange) ** Changed in: ubuntu-push (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
** Also affects: savilerow Importance: Undecided Status: New ** Changed in: savilerow Status: New => Triaged ** Changed in: savilerow Assignee: (unassigned) => Yuan-Chen Cheng (ycheng-twn) ** Changed in: savilerow Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1507510] Re: Push notifications missing when app in foreground, but device locked
I just did a testing, and I did receive the notification on my MX4 device. I did the following: 1) Install the "hello" from our Ubuntu store. It is a push notification client 2) Register an account with any name (nick) in the client 3) Open the webpage link at http://direct.ralsina.me:8001/ When the app is in the foreground and press the power button, On the webpage, just send a message to your client (to the nick). Then unlock the phone again, you will see that the message comes in and it is shown there in the app. However, the problem is that there is no indication of the LED flashing or sound for the newly received notification. I think this is a must for a messaging app. An end user should not miss the reminding of the new messages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1507510 Title: Push notifications missing when app in foreground, but device locked To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1507510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs