Bug 517564 - Clicking "Hibernate" on lock screen submits empty password, triggering shake animation and aborting hibernation
Summary: Clicking "Hibernate" on lock screen submits empty password, triggering shake ...
Status: RESOLVED DUPLICATE of bug 481808
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (other bugs)
Version First Reported In: 6.6.2
Platform: CachyOS Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-14 16:41 UTC by Dušan Milošević
Modified: 2026-08-14 18:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dušan Milošević 2026-03-14 16:41:17 UTC
SUMMARY
When attempting to hibernate the system from an active user's Lock Screen, the click/Enter event on the "Hibernate" button is not fully consumed. Instead, it bleeds through to the focused password input field. This triggers an empty password submission, causing the "shake" animation for a failed login. This resulting UI animation and PAM authentication attempt act as a software wake event, which instantly aborts the kernel's hibernation sequence.

Hibernation works perfectly from the SDDM login screen (before user login) and from the unlocked Plasma desktop. It only fails on the kscreenlocker UI.

STEPS TO REPRODUCE

Log into a Plasma session.

Lock the screen (Meta + L).

Click the "Hibernate" button on the lock screen (or highlight it with Tab and press Enter).

OBSERVED RESULT

The password input box shakes (indicating a failed empty login attempt).

The screen goes black momentarily as hibernation begins.

The system immediately wakes back up to the lock screen.

Checking journalctl shows the image saves successfully, but is immediately aborted by the software wake event:
PM: Image saving done
PM: hibernation: Wakeup event detected during hibernation, rolling back.

EXPECTED RESULT
The click/keypress should be consumed entirely by the Hibernate button. The password field should not receive an enter/submit event, and the system should successfully hibernate without being interrupted by the lock screen's UI animation.

ADDITIONAL INFORMATION

OS: CachyOS (Arch-based)

Hardware: Intel APU Laptop

Troubleshooting performed: Completely disabled all ACPI hardware wake triggers (/proc/acpi/wakeup) to rule out rogue USB/hardware ghosts. The issue persists, confirming the wake event is entirely software/UI driven by the lock screen's animation/input handling. A delayed terminal hibernation (sleep 5 && systemctl hibernate) executed before locking the screen works perfectly, further isolating the bug to the lock screen button's event propagation.
Comment 1 Nate Graham 2026-08-14 18:15:05 UTC
Ultimately this has the same root cause as Bug 481808.

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