Keyboard input bypasses lockscreen

For many years and Fedora releases, the keyboard input at the lockscreen is sometimes bypassing the lockscreen and going directly “behind” the lockscreen.

Sometimes when I start typing my user password with the system screen locked before turning on the monitor (TV), the input does not all get captured by the lockscreen, as indicator by dots in the password field. Many of the earlier characters may be missing.

After retyping the password fully and unlocking the screen, the “missing” characters from the password can be seen entered in whatever had focus, such as a terminal, chat window, or browser! Very disconcerting!

It was not always this way; this issue started several years ago. But I’m not sure how to report it as it is difficult to reproduce at will, yet it happens often.

Any ideas what the issue could be or how to investigate it?

Keyboard: Logitech k830 with unifying adapter
System info:

$ neofetch
             .',;::::;,'.                 
         .';:cccccccccccc:;,.            ------------ 
      .;cccccccccccccccccccccc;.         OS: Fedora release 38 (Thirty Eight) x 
    .:cccccccccccccccccccccccccc:.       Kernel: 6.5.8-200.fc38.x86_64 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Uptime: 11 days, 16 hours, 52 mins 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Packages: 4721 (rpm) 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Shell: bash 5.2.15 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Resolution: 1920x1080 
:cccccccccccccc;MMM.;cccccccccccccccc:   DE: MATE 1.26.1 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   WM: Metacity (Marco) 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   Theme: Arc-Darker [GTK2/3] 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Icons: Material-Black-Blueberry-Numix  
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Terminal: mate-terminal 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal Font: Monospace 10 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: AMD Ryzen 7 2700X (16) @ 3.700GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: NVIDIA GeForce GT 1030 
:cccccccccccccccccccccccccccc:'.         Memory: 25824MiB / 32002MiB 
.:cccccccccccccccccccccc:;,..
  '::cccccccccccccc::;,.