fvogt added a comment.
I finally figured the issue out. Newly appearing windows try to steal focus, which makes m_focusedLockWindow actually wrong. That explains why it works only for some and only for some setups... I'll try to fix that by adding setAttribute(Qt::WA_ShowWithoutActivating); to the greeter windows. Now the question is whether that would break the wayland locker as there is no call to fakeFocusIn on wayland. Either that code needs to be X11 only or the focus handling fixed under wayland as well, which I cannot do as I cannot get multiscreen on wayland to work... REPOSITORY R133 KScreenLocker BRANCH Plasma/5.8 REVISION DETAIL https://phabricator.kde.org/D4821 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: fvogt, graesslin, broulik, #plasma Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol