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

Reply via email to