Bug 434153 - No confirmation screen showed when power button is pressed
Summary: No confirmation screen showed when power button is pressed
Status: RESOLVED DUPLICATE of bug 433408
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 17:52 UTC by boingo-00
Modified: 2021-04-30 20:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Power button configuration (35.49 KB, image/png)
2021-03-08 17:57 UTC, boingo-00
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boingo-00 2021-03-08 17:52:32 UTC
SUMMARY
When I press power button on a computer, it immediately starts shutting down. However, after putting PC in sleep mode then waking it up, everything works as it should. This bug started with 5.21, before that pressing power button showed confirmation screen (attached)

STEPS TO REPRODUCE
1. Press power button

OBSERVED RESULT
PC is powered off

EXPECTED RESULT
Screen with power options appeared

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210302
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × AMD Phenom(tm) II X4 955 Processor
Memory: 7.8 ГиБ of RAM
Graphics Processor: AMD TURKS

ADDITIONAL INFORMATION
Comment 1 boingo-00 2021-03-08 17:57:04 UTC
Created attachment 136494 [details]
Power button configuration
Comment 2 Nate Graham 2021-03-08 19:54:47 UTC
Do you remember if there was a kernel update at the same time as you got the Plasma 5.21 update?
Comment 3 boingo-00 2021-03-08 20:11:57 UTC
Not sure about bugfix versions, but minor version didn't changed
Too much time passed since update, but 5.10 kernel released later than plasma
Comment 4 boingo-00 2021-03-14 09:33:56 UTC
Created a new user, everything works like it should. Which config files can be related to power button behavior? I want try to remove it and see what happens, because resetting to default all energy saving page didn't work
Comment 5 Yaroslav Sidlovsky 2021-03-14 10:54:12 UTC
Same bug on Fedora 33.
After chaning default action I no longer able to configure power button action.
No matter what action I choose every press of power buttons results in permanent PC power off without any confirmation or anything.
It works as expected (configured to no action) before I started to change this option.
Comment 6 Yaroslav Sidlovsky 2021-04-30 17:34:09 UTC
FYI: After sending PC to sleep and waking it up - power button starts working as configured in the settings.
Comment 7 Yaroslav Sidlovsky 2021-04-30 17:34:51 UTC
Same bug can be reproduced on Fedora 34.
Comment 8 Yaroslav Sidlovsky 2021-04-30 20:02:12 UTC

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