Ensure slideshow inhibits screen save/lock in both GNOME Shell and Unity
Submitted by cli..@..ba.org
Link to original bug (#718887)
Description
---- Reported by clinton@yorba.org 2012-08-08 11:35:00 -0700 ----
Original Redmine bug id: 5638
Original URL: http://redmine.yorba.org/issues/5638
Searchable id: yorba-bug-5638
Original author: Clinton Rogers
Original description:
Right now, our old GNOME 2 inhibit code is broken. We should port it to GNOME 3 and ensure it works under both GNOME Shell and Unity.
Steps to reproduce:
- Enable the screensaver on the target machine, and set it to appear and lock the screen after a short amount of idle time.
- In Shotwell, launch a slideshow.
- Without pressing any keys, allow the slideshow to continue until more than the amount of time has elapsed and observe the result.
Notice that, on many machines, the screensaver will appear and lock the session inappropriately; the expected result is that Shotwell should attempt to prevent the screensaver from appearing when the slideshow is active.
Related issues:
- related to shotwell - 1195: inhibit screensaver while slideshow is running (Fixed)
- related to shotwell - Feature #1362 (closed): implement X11 screensaver disable (Open)
- related to shotwell - 5903: [quantal] CRT error starting slideshow (Fixed)
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:47:00 -0700 ----
History
Comment 1
Updated by Clinton Rogers over 1 year ago
When spawning the slideshow, it may be helpful for us to call the Vala equivalent of [gtk_application_inhibit()](http://developer.gnome.org/gtk3/3.3/ GtkApplication.html#gtk-application-inhibit) with the flags GTK_APPLICATION_INHIBIT_IDLE and GTK_APPLICATION_INHIBIT_SUSPEND, along with a matching call to [gtk_application_uninhibit()](http://developer.g nome.org/gtk3/3.3/GtkApplication.html#gtk-application-uninhibit) when the user exits the slideshow.
Comment 2
Updated by Adam Dingle over 1 year ago
Didn't we already implement this (see #1195 (closed))? Has that stopped working?
See also #1362 (closed) - is that the problem here?
Comment 3
Updated by Lucas Beeler over 1 year ago
- Subject changed from The 'slideshow' feature doesn't attempt to inhibit the screensaver or locking. to Ensure slideshow inhibits screen save/lock in both GNOME Shell and Unity
- Description updated (diff)
Comment 4
Updated by Lucas Beeler over 1 year ago
- Description updated (diff)
Comment 5
Updated by Adam Dingle about 1 year ago
-
Assignee deleted (
<strike>
_Clinton Rogers_</strike>
)
Comment 6
Updated by Clinton Rogers about 1 year ago
- Status changed from Open to 5
- Target version set to 0.13.1
- % Done changed from 0 to 100
- Resolution set to worksforme
This was fixed by the fix for #5903.
Comment 7
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Invalid
--- Bug imported by chaz@yorba.org 2013-11-25 21:58 UTC ---
This bug was previously known as bug 5638 at http://redmine.yorba.org/show_bug.cgi?id=5638
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.13.1
Resolution: RESOLVED INVALID