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 749994 - Reset idle time on resume and session becoming active
Reset idle time on resume and session becoming active
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-05-27 18:20 UTC by Rui Matos
Modified: 2015-05-28 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
native/meta-launcher: Reset idle time when our session becomes active (1013 bytes, patch)
2015-05-27 18:20 UTC, Rui Matos
committed Details | Review
backends/native: Reset idle time when resuming from suspend (3.69 KB, patch)
2015-05-27 18:20 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2015-05-27 18:20:21 UTC
Here's a couple more places where we should reset idle time.
Comment 1 Rui Matos 2015-05-27 18:20:27 UTC
Created attachment 304098 [details] [review]
native/meta-launcher: Reset idle time when our session becomes active
Comment 2 Rui Matos 2015-05-27 18:20:32 UTC
Created attachment 304099 [details] [review]
backends/native: Reset idle time when resuming from suspend
Comment 3 Jasper St. Pierre (not reading bugmail) 2015-05-27 18:23:17 UTC
Review of attachment 304098 [details] [review]:

makes sense.
Comment 4 Jasper St. Pierre (not reading bugmail) 2015-05-27 18:26:32 UTC
Review of attachment 304099 [details] [review]:

does logind not take away / resume our session on suspend / resume? i swore it should.

i wish there was a better api than this, but ok if not.
Comment 5 Rui Matos 2015-05-28 12:24:40 UTC
(In reply to Jasper St. Pierre from comment #4)
> does logind not take away / resume our session on suspend / resume?
> i swore it should.

I just double checked and, no, we don't get session inactive/active
notifications from logind when suspending/resuming so, pushing both
patches.

   e4e5e5a..843c9b3  gnome-3-16 -> gnome-3-16
      8d51a9d..b62db40  master -> master

Attachment 304098 [details] pushed as 90a28e7 - native/meta-launcher: Reset idle time when our session becomes active
Attachment 304099 [details] pushed as b62db40 - backends/native: Reset idle time when resuming from suspend