[linux] Shouldn't disable screensaver if music is in pause
Bug #315672 reported by
Guillaume Desmottes
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.
Related branches
Changed in elisa: | |
assignee: | nobody → cassidy |
milestone: | 0.5.x → 0.5.30 |
status: | Confirmed → In Progress |
Changed in elisa: | |
status: | In Progress → Fix Committed |
Changed in elisa: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.