Activity log for bug #1482317

Date Who What changed Old value New value Message
2015-08-06 17:24:39 Michael Terry bug added bug
2015-08-06 17:26:18 Michael Terry description Right now, there are several places we ask USC to turn the screen on when a notification happens: - powerd for SMS, USSD, and incoming calls - telephony-service for MMS and telephony messages And we don't seem to be turning them on for ubuntu-push notifications, but we should, right? Following the pattern above, we'd have ubuntu-push itself turn the screen on, for a third location. We don't turn the screen on at all for notifications that don't come via those sources. For example, the following command line doesn't turn the screen on, but I think it should: gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.Notify '' 0 '' 'Hello' 'World' '[]' '{}' 0 I think it feels weird to have telephony-service turning the screen on. Logically, it is just emitting a notification. The presentation of that notification is up to a higher layer (maybe we're on a raspberry pi2 and we emit notifications by LED morse code or whatever). It just makes sense that unity8, which is drawing the notification, is the one that knows that the screen needs to be on. It also knows what form factor we are in (I assume we only want to turn screen on for phones/tablets, not desktops). So I'm proposing that we unify all those places into one code path in unity8 that can turn the screen on when a notification is received. (This is a breakout bug from bug 1426115.) Right now, there are several places we ask USC to turn the screen on when a notification happens: - powerd for SMS, USSD, and incoming calls - telephony-service for MMS and telephony messages And we don't seem to be turning them on for ubuntu-push notifications, but we should, right? Following the pattern above, we'd have ubuntu-push itself turn the screen on, for a third location. We don't turn the screen on at all for notifications that don't come via those sources. For example, the following command line doesn't turn the screen on, but I think it should: gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.Notify '' 0 '' 'Hello' 'World' '[]' '{}' 0 It feels weird to have telephony-service turning the screen on. Logically, it is just emitting a notification. The presentation of that notification is up to a higher layer (maybe we're on a raspberry pi2 and we present notifications as LED morse code or whatever). It just makes sense that unity8, which is drawing the notification, is the one that knows that the screen needs to be on. It also knows what form factor we are in (I assume we only want to turn screen on for phones/tablets, not desktops). So I'm proposing that we unify all those places into one code path in unity8 that can turn the screen on when a notification is received. (This is a breakout bug from bug 1426115.)
2015-08-10 22:30:00 Launchpad Janitor branch linked lp:~mterry/unity8/turn-on-screen-when-notifying
2015-09-21 11:00:08 Launchpad Janitor unity8 (Ubuntu): status New Confirmed
2016-02-10 17:24:46 Michael Terry bug task added powerd (Ubuntu)
2016-02-10 17:24:56 Michael Terry branch linked lp:~mterry/powerd/no-screen-on
2016-02-10 17:25:32 Michael Terry unity8 (Ubuntu): status Confirmed Fix Released
2016-02-10 17:26:05 Michael Terry bug task added telephony-service (Ubuntu)
2016-02-10 17:26:13 Michael Terry branch linked lp:~mterry/telephony-service/no-screen-on
2016-02-10 17:26:27 Michael Terry telephony-service (Ubuntu): status New In Progress
2016-02-10 17:26:27 Michael Terry telephony-service (Ubuntu): assignee Michael Terry (mterry)
2016-02-10 17:26:37 Michael Terry powerd (Ubuntu): status New In Progress
2016-02-10 17:26:37 Michael Terry powerd (Ubuntu): assignee Michael Terry (mterry)
2017-04-21 13:56:21 Michael Terry telephony-service (Ubuntu): assignee Michael Terry (mterry)
2017-04-21 13:56:24 Michael Terry powerd (Ubuntu): assignee Michael Terry (mterry)