[linux] Shouldn't disable screensaver if music is in pause

Bug #315672 reported by Guillaume Desmottes
2
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Medium
Guillaume Desmottes

Bug Description

I use a spare laptop as a Elisa box to play music. When I'm done with listenning, I press the space bar to stop the music. Problem is, by doing that, my screensaver (which is turning the screen to black) is never activated. I don't have this problem if I explicitely stop the music using the "stop" button. I guess that's because Elisa inhibits the screensaver while playing and doesn't re-enable it when music is in pause.

Revision history for this message
Olivier Tilloy (osomon) wrote :

You're right, line 160 of elisa-plugins/elisa/plugins/gnome/gnome_screensaver_service.py is:

    elif status == player.STOPPED and self._pm_cookie:

whereas I guess it should be:

    elif status in (player.STOPPED, player.PAUSED) and self._pm_cookie:

By the way this bug is linux-specific, as our screensaver service on windows deactivates the screensaver unconditionally during the whole life of the application.

Changed in elisa:
importance: Undecided → Medium
milestone: none → 0.5.x
status: New → Confirmed
Revision history for this message
Guillaume Desmottes (cassidy) wrote :
Philippe Normand (philn)
Changed in elisa:
assignee: nobody → cassidy
milestone: 0.5.x → 0.5.30
status: Confirmed → In Progress
Philippe Normand (philn)
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in elisa:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.