Source: xfce4-power-manager
Version: 4.20.0-1
Severity: important
Tags: upstream

After upgrading from debian 12 to 13, closing the lid on my media box no longer 
hibernates.
Investigation shows that the lid button event is received, but the action is 
inhibited because there is an external screen plugged in.
Running:
xfce4-power-manager --no-daemon --debug
shows (on lid closure):
TRACE[xfpm-manager.c:333] xfpm_manager_lid_changed_cb(): LID closed: 
((XfpmLidTriggerAction) LID_TRIGGER_HIBERNATE)
TRACE[xfpm-manager.c:339] xfpm_manager_lid_changed_cb(): Ignoring lid closed 
event: external monitor connected

Further investigation finds that this is expected behaviour on 4.20.0:
https://bbs.archlinux.org/viewtopic.php?id=303157

For a media box (that always has an external monitor attached), this is a major 
regression from Debian 12.

There is a referenced patch for 4.21 to add a config option, so that the 
old/correct behaviour can be restored:
https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/f19c6a973ab52855a8c664c8db491575abb59227

I will try to backport this to 4.20.0, as even if the default has changed, 
having the option to operate as for oldstable is important.

--
Wookey

Reply via email to