[kscreenlocker] [Bug 449857] Lockscreen window does not get focus by default on X11

Erik bugzilla_noreply at kde.org
Fri May 13 23:37:09 BST 2022


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

Erik <eecolor at qirx.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eecolor at qirx.org

--- Comment #57 from Erik <eecolor at qirx.org> ---
Others in this thread pointed out the piece of code that is responsible
(/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:231),
which makes  a lot of sense:

> visible: opacity > 0
> enabled: visible

Set visible to true if the it is not transparent. Enable when visible.

This seems to be introduced in
https://invent.kde.org/plasma/plasma-workspace/-/commit/c4a3a4e5b974fb309a6da61252b2b830d2d90683
with comment:

> // changing enabled will toggle if an item can have activeFocus, which otherwise
> //keeps the text cursor blinking even when invisble

I however changed `enabled: visible` to `enabled: true` and (as expected) this
restored the behavior for me. I do not see any evidence of a blinking cursor.

I don't have any understanding of versioning or policy. I am on Kubuntu 20.04
and there are no updates in the Updates tab of Discover. The kinfocenter tells
me I am on version 5.18.8 for the KDE Plasma. It would be nice (at least for
other people who did not yet find this thread) to update the line, but as I
said, I am not sure if the policy allows such a change

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Visual-design mailing list