screen saver will let keyboard keystroke through to application before screen unlocks while waking up
When my machine is screen locked, and my monitors go into sleep mode. Sometimes it takes a long time for the monitors to wake up and the password prompt to show up. (long time being maybe 10-15 seconds). I notice this particularly happens when external 4k monitors are attached. While it's blank waiting to wake up and prompt me for a password, anything I type goes to what ever application was active. i.e. I've had a web browser open and what ever I typed while it was asleep (usually my password ... ) shows up in the text fields of the web browser. I started just pressing backspace or space bar instead to wake up the machine and I find spaces (or deleted character) in my IDE for what ever text file I had open. Note those were the keystokes that happened before the screen unlock password dialog showed up and before I unlocked the screen.
This is fairly consistently reproducible as it seems to happen almost every time I unlock my machine after the monitors have gone to sleep.
my setup is as follows :
Linux version 6.2.9-300.fc38.x86_64 (mockbuild@38f30b3c0c69453fae61718fc43f33bc) (gcc (GCC) 13.0.1 20230318 (Red Hat 13.0.1-0), GNU ld version 2.39-9 .fc38) #1 SMP PREEMPT_DYNAMIC Thu Mar 30 22:32:58 UTC 2023
xfce4-screensaver.x86_64 4.18.2-1.fc38
Machine is thinkpad p14s (gen 3). This also happens with a thinkpad l380.
I have two 4k monitors attached simultaneously, one is a a phillips 288p, and second is a samsung u28e590ds. They are attached via laptops main plugs, 1 hdmi, 1 usbc
as an additional note... I may have seen this before, this might be the display sleeping before the screen saver has had a chance to lock, and the "long wake up period" might be the machine-un-sleeps, then attempts to continue locking the desktop.