Bug 497768 - Screen Reawakens Unexpectedly After Suspend Failure with Plasma 6 and Elogind
Summary: Screen Reawakens Unexpectedly After Suspend Failure with Plasma 6 and Elogind
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (show other bugs)
Version: 6.2.4
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 22:52 UTC by Christophe PEREZ
Modified: 2025-01-03 22:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2024-12-21 22:52:29 UTC
I'll explain it very simply.

- enable power saving to go to sleep after 5 minutes
- enable power saving so that the screen turns off after 2 minutes
- put in /etc/elogind/system-sleep/000pre_suspend
	#!/bin/bash
	case $1/$2 in
		pre/*) exit 1 ;;
	esac

- wait 2 minutes, the screen turns off
- wait 3 minutes more, and the screen turns back on because of the suspend failure.

What makes the screen turn back on? How can I make it not happen?
Before using plasma 6, I didn't have this problem.
It's really very boring how it works.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Gentoo OpenRC 0.55.1 elogind 252.9 plasma 6.2.4
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3