https://bugs.kde.org/show_bug.cgi?id=499637

Marc Payne <marc.pa...@mdpsys.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.pa...@mdpsys.co.uk

--- Comment #8 from Marc Payne <marc.pa...@mdpsys.co.uk> ---
I've been seeing this 'immediate password prompt' issue on several systems, all
running Arch. I've compared package versions between affected and not-affected
systems and have concluded that it is the update of Qt 6.8.1 -> 6.8.2 causing
this.

I added some additional logging output to LockScreenUi.qml
(/usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/) and it
seems that Item::MouseArea::onPositionChanged is being called immediately even
when the system is idle (no mouse movement), setting uiVisible = true. A quick
search of the Qt 6.8.2 release notes finds QTBUG-127122 - this is an
intentional change emitting the positionChanged event in response to a
QEvent::HoverEnter event. No matter where the pointer is positioned, it will
enter the newly created full-screen MouseArea when the lock screen is displayed
and onPositionChanged will be called.

I have temporarily fixed the issue on a couple of systems by introducing a new
boolean property 'ignorePositionChanged' and using it to make the first call of
onPositionChanged a no-op (uiVisible = !ignorePositionChanged;
ignorePositionChanged = false). I don't have any experience with Qt so perhaps
there is a more elegant solution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to