snap decision timeout needs to be determined by the requesting app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Menu |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu UX |
Fix Released
|
Critical
|
Olga Kemmet | ||
Unity |
Invalid
|
Undecided
|
Mirco Müller | ||
unity-notifications |
Confirmed
|
Undecided
|
Mirco Müller | ||
indicator-network (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
telephony-service (Ubuntu) |
Triaged
|
Medium
|
Gustavo Pichorim Boiko | ||
unity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity-notifications (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Problem:
If user receives an SMS/call, snap decision for incoming SMS/call stays on screen for always only 60sec. and then disappears from screen (by default). There was no interaction from user.
Possible solution:
The snap decision should stay on screen for the amount of time the app asks it to, being always app dependant.
A 60sec. time-out is too short due to use cases where an action from user is mandatory.
Use case example: A class 1/2 SMS arrives after user triggered a USSD command from dialer. These type of SMS always requires a response from user (CANCEL or a further COMMAND). Thus a timeout of only 60 sec is too short because it can be missed and these type of SMS is NOT saved into the usual messages thread.
Related branches
- Lars Karlitski (community): Disapprove
- Antti Kaijanmäki (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 94 lines (+20/-7)5 files modifiedexamples/example.py (+3/-0)
examples/sd-example-password-entry.py (+4/-3)
examples/sd-example-user-auth.py (+4/-3)
include/notify-backend.h.in (+1/-0)
src/NotificationServer.cpp (+8/-1)
- Lars Karlitski (community): Disapprove
- Charles Kerr: Pending requested
-
Diff: 23 lines (+2/-0)2 files modifiednetwork/notify-cpp/snapdecision/sim-unlock.cpp (+1/-0)
secret-agent/SecretRequest.cpp (+1/-0)
- Charles Kerr (community): Approve
-
Diff: 23 lines (+2/-0)2 files modifiednetwork/notify-cpp/snapdecision/sim-unlock.cpp (+1/-0)
secret-agent/SecretRequest.cpp (+1/-0)
- PS Jenkins bot (community): Approve (continuous-integration)
- Unity API Team: Pending requested
-
Diff: 148 lines (+26/-27)6 files modifiedexamples/example.py (+0/-3)
examples/sd-example-password-entry.py (+3/-4)
examples/sd-example-user-auth.py (+3/-4)
include/NotificationServer.h (+1/-1)
include/notify-backend.h.in (+0/-1)
src/NotificationServer.cpp (+19/-14)
- Antti Kaijanmäki (community): Disapprove
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 53 lines (+8/-2)4 files modifiednetwork/notify-cpp/notification.cpp (+6/-0)
network/notify-cpp/notification.h (+1/-0)
network/notify-cpp/snapdecision/sim-unlock.cpp (+1/-1)
secret-agent/SecretRequest.cpp (+0/-1)
Changed in unity-notifications: | |
assignee: | nobody → Olga Kemmet (olga-kemmet) |
status: | New → Fix Committed |
importance: | Undecided → Critical |
Changed in ubuntu-ux: | |
assignee: | nobody → Olga Kemmet (olga-kemmet) |
Changed in unity-notifications: | |
assignee: | Olga Kemmet (olga-kemmet) → nobody |
importance: | Critical → Undecided |
status: | Fix Committed → New |
Changed in ubuntu-ux: | |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Changed in unity: | |
status: | New → Triaged |
Changed in unity-notifications: | |
status: | New → Triaged |
summary: |
- snap decision timeout should be app dependent + snap decision timeout needs to be determined by the requesting app |
Changed in unity-notifications: | |
assignee: | nobody → Mirco Müller (macslow) |
Changed in unity: | |
assignee: | nobody → Mirco Müller (macslow) |
Changed in unity-notifications: | |
status: | Triaged → In Progress |
Changed in indicator-network (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in telephony-service: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in telephony-service (Ubuntu): | |
status: | New → Triaged |
Changed in telephony-service (Ubuntu): | |
importance: | Undecided → Medium |
no longer affects: | telephony-service (Ubuntu) |
affects: | telephony-service → telephony-service (Ubuntu) |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
As discussed with Olga last week, a possible solution would be the introduction of a new integer hint (e.g. "x-canonical- private- timeout" ), which would allow a snap-decision to divert from the regular timeout-behaviour that's usually the case with snap-decisions.
On could argue if we start using the the regular notify_ notification_ set_timeout( ) instead of a dedicated hint.