This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Too fast lid close - no screen lock (only in Firefox!)

Tags: None
(comma "," separated)
smoltron
Registered Member
Posts
3
Karma
0
I have found a very peculiar behavior in my laptop with Debian Bullseye and KDE Plasma 5.22.5 in Xorg. When Firefox is active and I close the lid, the screen is not locked. I thought first that this is a Firefox behaviour, but maybe not. if I close the lid **carefully** and slow, the screen locks, but if I close it fast (as usual), it does not lock. In all cases, the laptop goes to sleep, but does not always lock.

I have "When laptop lid closed: sleep" and "lock screen automatically after waking from sleep" on in my KDE settings.

What could be the reason of this? I cannot explain it. It happens only with Firefox. I would not like to move to another browser, but this is a major security risk.
smoltron
Registered Member
Posts
3
Karma
0
I have now an explanation. When closing the lid quickly, the laptop creates a touchscreen event from the pressure of closing. That event prevents locking for some reason that I do not understand. I disabled the touchscreen and now the screen locks in all cases, both quick and careful closing of the lid.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
This sounds to me like a hardware issue, maybe check in your manufacturers support pages for answers.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
smoltron
Registered Member
Posts
3
Karma
0
Mamarok wrote:This sounds to me like a hardware issue, maybe check in your manufacturers support pages for answers.

I do not think so. It sounds more like a timing issue. The touch screen event disturbs the lid close event and somehow prevents locking. I do not know Xorg architecture well, but the problem may be in Xorg also.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]