mythgame doesn't disable screensaver before launching game
Bug #264591 reported by
Ross Campbell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Medium
|
Unassigned | ||
mythplugins (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
using mythbuntu 8.04.1 on X64 with all latest patches and running mythtv packages from the weekly builds repository, I notice that launching a game from mythgame and playing it with a joypad will cause the screensaver to kick in after the default screensaver timeout.
I suspect that the gnome-screensaver disable patch that mythbuntu includes needs to be enhanced to disable screensaver in all plugins that could exec an external program prior to exec, and then re-enable it when the program returns.
Related branches
Changed in mythplugins: | |
status: | Confirmed → Fix Committed |
Changed in mythbuntu: | |
status: | Confirmed → Fix Committed |
Changed in mythplugins (Ubuntu): | |
status: | Confirmed → Incomplete |
To post a comment you must log in.
Correct.
In /mythplugins- fixes/mythgame/ mythgame/ gamehandler. cpp, myth_system() is used to launch the game (around line 867).
myth_system() does not disable the screen saver by default. We can use the ScreenSaverControl class to, um, control the screen saver in mythgame.