Bug 454147 - Password input field not focused on startup
Summary: Password input field not focused on startup
Status: RESOLVED NOT A BUG
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: greeter (show other bugs)
Version: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-05-21 12:43 UTC by postix
Modified: 2022-05-23 18:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-05-21 12:43:44 UTC
SUMMARY

Commit: 8fc33427ecb41b6de003514d25554ddee17aca1b
Theme: Breeze

```
kdesrc-build kscreenlocker
source ~/kde/workspace/kscreenlocker/prefix.sh.fish
QT_LOGGING_RULES=kscreenlocker_greet.debug=true ~/kde/build/kde/workspace/kscreenlocker/bin/kscreenlocker_greet --testing
```

If you start typing, nothing happens. You first need to click into the password field.
Comment 1 postix 2022-05-21 12:44:14 UTC
```
kscreenlocker_greet: Greeter is starting up.
kscreenlocker_greet: [PAM] Starting...
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:217: ReferenceError: wallpaper is not defined
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:0: ReferenceError: wallpaper is not defined
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:0: ReferenceError: wallpaper is not defined
Locked at 1653136494
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:599: TypeError: Value is undefined and could not be converted to an object
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
file:///snip/kde/local/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
kscreenlocker_greet: Start auth
kscreenlocker_greet: Auth done RC 0
Signal QQmlEngine::quit() emitted, but no receivers connected to handle it.
Signal QQmlEngine::quit() emitted, but no receivers connected to handle it.
Signal QQmlEngine::quit() emitted, but no receivers connected to handle it.
```
Comment 2 postix 2022-05-21 13:41:46 UTC
In the plasma wayland session:

1) Press Ctrl+Alt+L to lock the screen: Only the wallpaper + clock is displayed
2) Start typing: Nothing happens
3) Move the mouse so that the password input mask appears
4) Start typing: Works, password is entered
5) Hide the input mask by hitting esc
6) Start typing: Works, password is entered
Comment 3 Nate Graham 2022-05-23 18:24:46 UTC
Cannot reproduce because the UI immediately appears for me because I have password auth set up. I guess this is Bug 454108.

*** This bug has been marked as a duplicate of bug 454108 ***
Comment 4 postix 2022-05-23 18:41:24 UTC
(In reply to Nate Graham from comment #3)
> Cannot reproduce because the UI immediately appears for me because I have
> password auth set up. I guess this is Bug 454108.

Seems to be fixed now anyway.