FS#36290 - [rhythmbox] while playing, disables automatic screen lock
Attached to Project:
Arch Linux
Opened by Luis Henrique Mello (lmello) - Friday, 26 July 2013, 20:32 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 18 April 2014, 02:27 GMT
Opened by Luis Henrique Mello (lmello) - Friday, 26 July 2013, 20:32 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 18 April 2014, 02:27 GMT
|
Details
Description:
Well I really don't know if this is a bug or a 'feature', but it used to work before. I think some recent upgrades of other packages triggered this issue, because it's the same package version I've used for months. Additional info: rhythmbox 2.99.1-2 Steps to reproduce: Open rhythmbox, set to automatic lock screen for about 1 minute or so, an play a stream or audio file. The desktop does not lock up automatically like it should. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Friday, 18 April 2014, 02:27 GMT
Reason for closing: Fixed
Additional comments about closing: upstream
Friday, 18 April 2014, 02:27 GMT
Reason for closing: Fixed
Additional comments about closing: upstream
Attached is what gdb spits when I do this.
gobject-introspection (which contains was updated on July 16, so I'll try to downgrade it.
edit: downgrade the package to the previous repo version, gdb spits this instead:
'Program received signal SIGABRT, Aborted.
0x00007ffff6c7a1c9 in raise () from /usr/lib/libc.so.6'
- MPRIS D-Bus interface
And then I got my screen locked as usual with rhythmbox playing.
I have dbus 1.6.12-1 installed.
BUT, if I restart Rhythmbox, even with this plugin disabled, the screen does not lock again.
You can make the plugin visible easily by opening, as root:
/usr/lib/rhythmbox/plugins/power-manager/power-manager.plugin
and change the line:
Builtin=true
to
Builtin=false
I'm unsure if this plugin being hidden is intentional?, but I am certain most users would like the plugin visible so that they can toggle enabled/disabled as desired, I still consider this a bug, as the solution is virtually effortless, and the plugin is functional.
How did you recompile? Could you please provide a patch? I could send it upstream (https://bugzilla.gnome.org/show_bug.cgi?id=705105) then.
Also I have not fully tested 'GTK_APPLICATION_INHIBIT_SUSPEND', all I know is that it allows the screensaver to work. Personally, I prefer to disable the plugin, its a little buggy.
Thank you very much. I took the liberty to propose the patch upstream, let's see what the developers can do.
ps: probably the hidden nature of the plugin was indeed intended, but as it is it's passing the wrong thing to the gnome shell.
"It looks like GTK_APPLICATION_INHIBIT_SUSPEND prevents laptops from
suspending when the lid is closed, so it's not the right flag to use
here."