Merge lp:~osomon/elisa/gnome_screensaver_fixes into lp:elisa
Status: | Needs review |
---|---|
Proposed branch: | lp:~osomon/elisa/gnome_screensaver_fixes |
Merge into: | lp:elisa |
Diff against target: |
36 lines (+10/-7) 1 file modified
elisa-plugins/elisa/plugins/gnome/gnome_screensaver_service.py (+10/-7) |
To merge this branch: | bzr merge lp:~osomon/elisa/gnome_screensaver_fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Elisa Developers | code functional | Pending | |
Review via email: mp+25331@code.launchpad.net |
Description of the change
This branch (originally submitted for merge against moovida) fixes bug #322719.
The issue was twofold:
1) A wrong assumption that a "status change" message and a "playback ended" message could not be received in a row. Adding a check fixes that.
2) A badly written condition to check whether to (un)inhibit which leaded in successive changes in the inhibition state when seeking in a file.
The careful reviewer will verify that the bug is fixed and that it doesn't introduce any regressions. Music and video playback as well as picture slideshow should be tested. In order to monitor (un)inhibition orders, one can run moovida with ELISA_DEBUG=
Unmerged revisions
- 1618. By Olivier Tilloy
-
Do not try to un-inhibit if already un-inhibited. D'oh!
- 1617. By Olivier Tilloy
-
Do not try to un-inhibit twice.
- 1616. By Olivier Tilloy
-
More debug info.
- 1615. By Olivier Tilloy
-
Explicit is better than implicit.
I have not reviewed the code, but merged the branch and tested it out when Moovida was idle, playing video, music, pictures. It seems to be fixed!