Bug 494369

Summary: Lockscreen does not display screen keyboard when keyboard button is pressed
Product: [Plasma] plasmashell Reporter: compilebunny
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description compilebunny 2024-10-09 19:53:11 UTC
SUMMARY
Upon swiping up at the lockscreen, the numeric keypad is displayed. There is a button that is supposed to display the screen keyboard, but it does not work.

STEPS TO REPRODUCE
1. Lock the screen either by waiting or by using kscreenlocker_greet --testing
2. Click the keyboard icon

OBSERVED RESULT
The numeric keypad is removed but the screen keyboard does not appear.

EXPECTED RESULT
The numeric keypad should be removed and the screen keyboard should appear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 24 LTS / Plasma 6.2 
KDE Plasma Version: 6.2
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
kscreenlocker_greet --testing sometimes segfaults. Some non-segfault run logs are shown below.

tail -f /var/log/syslog while switching between the keypad and (non-displaying) keyboard produces:

2024-10-09T12:21:37.149661-07:00 username-desktop kwin_wayland[1710]: file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
2024-10-09T12:21:37.152738-07:00 username-desktop kwin_wayland[1710]: "Could not convert argument 1 at"
2024-10-09T12:21:37.152878-07:00 username-desktop kwin_wayland[1710]: #011 "run@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29"
2024-10-09T12:21:37.152943-07:00 username-desktop kwin_wayland[1710]: #011 "onScreensChanged@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:81"
2024-10-09T12:21:37.152994-07:00 username-desktop kwin_wayland[1710]: file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
2024-10-09T12:21:39.314208-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_content_type(uint32_t, uint32_t)
2024-10-09T12:21:39.314425-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_commit_state(uint32_t)
2024-10-09T12:21:39.315343-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_content_type(uint32_t, uint32_t)
2024-10-09T12:21:39.315460-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_commit_state(uint32_t)
2024-10-09T12:21:40.280129-07:00 username-desktop kwin_wayland[1710]: kwin_wayland_drm: atomic commit failed: Permission denied
2024-10-09T12:22:32.016383-07:00 username-desktop kwin_wayland[1710]: "Could not convert argument 1 at"
2024-10-09T12:22:32.017027-07:00 username-desktop kwin_wayland[1710]: #011 "run@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29"
2024-10-09T12:22:32.017116-07:00 username-desktop kwin_wayland[1710]: #011 "onScreensChanged@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:81"
2024-10-09T12:22:32.017186-07:00 username-desktop kwin_wayland[1710]: file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
2024-10-09T12:22:32.019738-07:00 username-desktop kwin_wayland[1710]: "Could not convert argument 1 at"
2024-10-09T12:22:32.019878-07:00 username-desktop kwin_wayland[1710]: #011 "run@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29"
2024-10-09T12:22:32.019942-07:00 username-desktop kwin_wayland[1710]: #011 "onScreensChanged@file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:81"
2024-10-09T12:22:32.019990-07:00 username-desktop kwin_wayland[1710]: file:///usr/share/kwin/scripts/convergentwindows/contents/ui/main.qml:29: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
2024-10-09T12:22:34.277558-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_content_type(uint32_t, uint32_t)
2024-10-09T12:22:34.277816-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_commit_state(uint32_t)
2024-10-09T12:22:34.278632-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_content_type(uint32_t, uint32_t)
2024-10-09T12:22:34.278768-07:00 username-desktop maliit-keyboard[1777]: maliit.connection.wayland: virtual void Maliit::Wayland::InputMethodContext::zwp_input_method_context_v1_commit_state(uint32_t)
2024-10-09T12:22:35.986574-07:00 username-desktop kwin_wayland[1710]: kwin_wayland_drm: atomic commit failed: Permission denied


Piping stderr to a file while running kscreenlocker_greet --testing produces (the password is eventually entered using a usb keyboard):

qml: prompt secret: Password: 
file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/Keypad.qml:80:9: QML LayoutItemProxy: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/Keypad.qml:35:9: QML LayoutItemProxy: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
No modems available
qrc:/org/kde/plasma/private/mobileshell/AudioInfo.qml:121:44: QML Connections: Detected function "onPreferredSinkChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
qrc:/org/kde/plasma/private/mobileshell/BatteryInfo.qml:18:5: Unable to assign [undefined] to int
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
kf.quickcharts.datasource: ModelSource: Invalid role  -1 "color"
No flashlight device found
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/v3d_drv_video.so
libva info: va_openDriver() returns -1
kpipewire_vaapi_logging: VAAPI: Failed to initialize display
kpipewire_vaapi_logging: DRM device not found
file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/Keypad.qml:35:9: QML LayoutItemProxy: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/Keypad.qml:35:9: QML LayoutItemProxy: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/Keypad.qml:80:9: QML LayoutItemProxy: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
error getting display properties via dbus: QDBusError("", "")
qt.dbus.integration: Could not connect "org.freedesktop.DBus.Properties" to onGlobalPropertiesChanged(QString, QVariantMap, QStringList) : 
error connecting to property changes via dbus
org.kde.pulseaudio: No object for name "alsa_output.platform-107c701400.hdmi.hdmi-stereo.monitor"
qt.qml.context: file:///usr/share/plasma/shells/org.kde.plasma.mobileshell/contents/lockscreen/FlickContainer.qml:91:5 Parameter "totalDeltaX" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
qml: attempt password
qml: attempt password
qml: login succeeded
file:///usr/share/plasma/quicksettings/org.kde.plasma.quicksetting.bluetooth/contents/ui/main.qml:27: TypeError: Cannot read property 'bluetoothOperational' of null
org.kde.pulseaudio: No object for name "alsa_output.platform-107c701400.hdmi.hdmi-stereo"
org.kde.pulseaudio: No object for name "alsa_output.platform-107c701400.hdmi.hdmi-stereo.monitor"
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
Comment 1 Nate Graham 2024-10-10 17:50:31 UTC
Are you clicking it with a pointing device or pressing it with your finger on a touchscreen?
Comment 2 compilebunny 2024-10-10 18:16:58 UTC
Pressing with my finger on the touchscreen. 

I know that the touch registers because the numeric keypad disappears. 

Also, pressing with my finger allows me to enter numbers using the numeric keypad.
Comment 3 Nate Graham 2025-05-22 18:02:06 UTC

*** This bug has been marked as a duplicate of bug 467209 ***