After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703084 - Wake up the screen when new notifications are added to the lock screen
Wake up the screen when new notifications are added to the lock screen
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-06-25 22:14 UTC by Allan Day
Modified: 2013-08-07 08:42 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8


Attachments
ScreenShield: wake up the screen when new notifications appear (3.16 KB, patch)
2013-07-14 14:22 UTC, Giovanni Campagna
none Details | Review
ScreenShield: wake up the screen when new notifications appear (3.66 KB, patch)
2013-07-31 08:57 UTC, Giovanni Campagna
committed Details | Review

Description Allan Day 2013-06-25 22:14:04 UTC
This would be a really useful way to see that there's things going on, even if the device is locked.
Comment 1 Milan Bouchet-Valat 2013-06-26 14:54:53 UTC
Wait, do you mean that when playing music, the screen should wake up every time a new song starts? Or when an e-mail arrives? That basically means the screen never sleeps.
Comment 2 Matthias Clasen 2013-06-26 18:43:26 UTC
"every time a song starts" is more like "every 2-4 minutes", thats hardly 'never sleeps'.
Comment 3 Allan Day 2013-06-26 22:02:25 UTC
Milan is right - the screen shouldn't wake up for new tracks. We've been talking about special-casing how music is handled on the lock screen (see bug 686616), so that might be one way around this.

As for email, I think that's really down to the email client and your notification settings.
Comment 4 Milan Bouchet-Valat 2013-06-27 09:33:47 UTC
(In reply to comment #2)
> "every time a song starts" is more like "every 2-4 minutes", thats hardly
> 'never sleeps'.
I was thinking that if you set your screen to turn off after 2-5 minutes of inactivity, it will almost never sleep, or only for a a short time. Or should it go back to sleep faster when it was woken up by a notification?

(In reply to comment #3)
> Milan is right - the screen shouldn't wake up for new tracks. We've been
> talking about special-casing how music is handled on the lock screen (see bug
> 686616), so that might be one way around this.
> 
> As for email, I think that's really down to the email client and your
> notification settings.
But one may want to get e-mail notifications, yet not wake up the screen when receiving one. Well, maybe a global switch is enough (wake up/never wake up).
Comment 5 Allan Day 2013-06-27 09:46:41 UTC
(In reply to comment #4)
... 
> > As for email, I think that's really down to the email client and your
> > notification settings.
>
> But one may want to get e-mail notifications, yet not wake up the screen when
> receiving one. Well, maybe a global switch is enough (wake up/never wake up).

You can configure whether each application will show notifications in the lock screen. In general I would say that email requires a more sophisticated notification strategy than showing a notification whenever new mail arrives.

Also bear in mind that we won't keep the display on for all that long for each new notification.
Comment 6 Giovanni Campagna 2013-07-14 14:03:00 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > "every time a song starts" is more like "every 2-4 minutes", thats hardly
> > 'never sleeps'.
> I was thinking that if you set your screen to turn off after 2-5 minutes of
> inactivity, it will almost never sleep, or only for a a short time. Or should
> it go back to sleep faster when it was woken up by a notification?

If it wakes up while locked, and you don't unlock, you should turn off in around 10 seconds.
Comment 7 Giovanni Campagna 2013-07-14 14:22:48 UTC
Created attachment 249124 [details] [review]
ScreenShield: wake up the screen when new notifications appear

This way the user is immediately notified when something happens.
Note that this only affects new sources (so new applications
notifying something), updates of existing notifications don't
wake up the screen.

I think this is a reasonable compromise between constantly waking
the screen and possibly missing urgent stuff.
Comment 8 Allan Day 2013-07-26 10:17:12 UTC
(In reply to comment #7)
...
> This way the user is immediately notified when something happens.
> Note that this only affects new sources (so new applications
> notifying something), updates of existing notifications don't
> wake up the screen.
> 
> I think this is a reasonable compromise between constantly waking
> the screen and possibly missing urgent stuff.

Why is an update to an existing source any less interesting to the user? I'm not sure that makes sense.

The screen doesn't have to be on for long - just about 5 seconds. Also, remember that we do provide configuration for this - if an app is waking up the screen a lot, you can choose not to show its notifications on the lock screen.
Comment 9 Giovanni Campagna 2013-07-31 08:57:51 UTC
Created attachment 250525 [details] [review]
ScreenShield: wake up the screen when new notifications appear

This way the user is immediately notified when something happens.
Comment 10 drago01 2013-08-04 08:59:15 UTC
Review of attachment 250525 [details] [review]:

"The screen doesn't have to be on for long - just about 5 seconds" ... the patch doesn't do that.
Comment 11 drago01 2013-08-04 08:59:49 UTC
Review of attachment 250525 [details] [review]:

"The screen doesn't have to be on for long - just about 5 seconds" ... the patch doesn't do that.
Comment 12 drago01 2013-08-04 08:59:50 UTC
Review of attachment 250525 [details] [review]:

"The screen doesn't have to be on for long - just about 5 seconds" ... the patch doesn't do that.
Comment 13 drago01 2013-08-04 09:00:23 UTC
Sorry for the spam ... blame firefox.
Comment 14 Giovanni Campagna 2013-08-04 22:04:59 UTC
The 5 seconds timeout is in the power plugin from gnome-settings-daemon. Separate bug?
Comment 15 Giovanni Campagna 2013-08-07 08:42:06 UTC
Attachment 250525 [details] pushed as 137cbbd - ScreenShield: wake up the screen when new notifications appear
Reviewed by Jasper St. Pierre at Guadec.