Bug 407710 - Powerdevil doesn't handle button actions
Summary: Powerdevil doesn't handle button actions
Status: RESOLVED DUPLICATE of bug 407721
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.15.90
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-19 06:02 UTC by Kishore Gopalakrishnan
Modified: 2019-05-20 15:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2019-05-19 06:02:08 UTC
SUMMARY
Button actions (suspend etc.) do not work in the latest 5.15.90 beta. Downgrading powerdevil to 5.15.5 fixes the issue

STEPS TO REPRODUCE
1. Upgrade to powerdevil 5.15.90.
2. Configure laptop to sleep on power button press.
3. Press power button.

OBSERVED RESULT
Laptop does not sleep.

EXPECTED RESULT
Laptop should go to sleep.

SOFTWARE/OS VERSIONS
Linux distro: Arch Linux (kde-unstable repo)
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Downgrading powerdevil to 5.15.5 fixes the issue. Output of `systemctl status systemd-logind` is as follows.
With Powerdevil 5.15.90:
```
May 19 11:20:51 kishore-inspiron-3537 systemd-logind[740]: Power key pressed.
```

With Powerdevil 5.15.5:
```
May 19 11:21:18 kishore-inspiron-3537 systemd-logind[740]: Power key pressed.
May 19 11:21:28 kishore-inspiron-3537 systemd-logind[740]: Operation 'sleep' finished.
```

Invoking suspend / hibernate via 'systemctl suspend' works perfectly.
Comment 1 Kishore Gopalakrishnan 2019-05-20 13:40:48 UTC
A git bisect shows this (https://phabricator.kde.org/D19162) as the first bad commit.
Comment 2 Antonio Rojas 2019-05-20 15:30:56 UTC

*** This bug has been marked as a duplicate of bug 407721 ***