touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #14216
[Bug 1327257] Re: [split] Impossible to place snap decisions on greeter while screen is unlocked
** Changed in: unity8 (Ubuntu)
Assignee: (unassigned) => Michael Terry (mterry)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1327257
Title:
[split] Impossible to place snap decisions on greeter while screen is
unlocked
Status in Server and client library for desktop notifications in Unity:
New
Status in The Unity 8 shell:
New
Status in “unity8” package in Ubuntu:
New
Bug description:
With the current greeter implementation we have a full telephony stack running as lightdm.
When an incoming call arrives the telephony-service-approver daemons try to place a snap decision either on greeter and unity8.
Everything works fine when the screen is locked (greeter displayed),
but if the screen is unlocked, the approver gets stuck while calling
notify_notification_show() until the screen is locked again.
notify_notification_show() has a timeout, so it fails to display the snap decision in a minute or so (which means receiving a call and not activating the greeter so it can process the snap decision).
If you run the approver manually you will get the following messages:
---------
Failed to show snap decision: Timeout was reached
Failed to get user property "IncomingCallSound" from AccountsService: "Object path cannot be empty"
Failed to get active entry from Unity Greeter: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
--------
In such case, the approver gives up on trying to show the snap
decision, but in most of times, if you lock the screen to see the
greeter, a snap decision is there, but the call does not exist
anymore.
Steps to reproduce:
1) install dialer-app-autopilot
2) reboot your device (to get ofono-phonesim running)
3) sometimes the modem is not online, so run this command just to make sure (/usr/share/ofono/scripts/online-modem)
4) run this command with the phone locked to check if the greeter is showing snap decisions: /usr/share/ofono/scripts/dial-number 199
5) unlock the phone, repeat the previous step and let it ring until the incoming call snap decision go away.
6) wait for 30 seconds more before you lock the screen again.
7) the previous notification will be incorrectly shown on the greeter.
These steps are not 100% reproducible, sometimes you get the wrong
notification, and sometimes it triggers another bug that no
notifications will be displayed anymore on the greeter, not even if
you restart the approver.
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-notifications/+bug/1327257/+subscriptions