Bug 448297 - Screen isn't cleared on suspend resulting in leaked image on resume
Summary: Screen isn't cleared on suspend resulting in leaked image on resume
Status: RESOLVED DUPLICATE of bug 316734
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.23.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 06:00 UTC by Shmerl
Modified: 2022-01-12 12:37 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 Shmerl 2022-01-12 06:00:08 UTC
Since recent Plasma update, when suspending and resuming the session, there is a brief image of screen during resume that's showing what was on screen prior to suspend. Which essentially leaks some information about the previous session before lock-screen appears on resume. It looks like the screen buffer isn't filled with zeroes (or black rectangle) before suspend happens and that's coming back on screen before the lock.

This happens both in Wayland and X11 session. Tested both with initiating suspend from Application Dashboard and from terminal with systemctl suspend.

OS: Debian testing (Linux kernel 5.16.0).
GPU: Sapphire Pulse RX 6800 XT.
Mesa: 21.3.3
Systemd: 249.7

Not fully sure if it's a KWin bug or not, but filing under KWin component for now.
Comment 1 Patrick Silva 2022-01-12 12:37:47 UTC

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