Skip to content

keyboard pops up always on phosh and plasma mobile #2174

@m4b

Description

@m4b

I've been playing around with just running random winit apps on phosh and plasma mobile on the pine phone, and the keyboard appears to pop up always (i have no text field elements, etc., it's just a graphics canvas basically)

So these systems are running wayland, and I was told in a channel to grep for text_input, e.g.:

1234567891011[ 663368.247] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[ 663368.386]  -> wl_registry@2.bind(18, "zwp_text_input_manager_v3", 1, new id [unknown]@7)
[ 663409.541]  -> zwp_text_input_manager_v3@7.get_text_input(new id zwp_text_input_v3@14, wl_seat@12)
[ 663574.530] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[ 663598.612] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[ 663604.224] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[ 663609.518] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[ 663615.969] wl_registry@36.global(18, "zwp_text_input_manager_v3", 1)
[ 663617.496] wl_registry@37.global(18, "zwp_text_input_manager_v3", 1)
[ 663635.486] wl_registry@39.global(18, "zwp_text_input_manager_v3", 1)
[ 663637.125] wl_registry@41.global(18, "zwp_text_input_manager_v3", 1)

where gedit, for example, WAYLAND_DEBUG=1 gedit 2>&1 | grep text_input has:

[2904291.467] wl_registry@2.global(18, "zwp_text_input_manager_v3", 1)
[2905408.074] wl_registry@27.global(18, "zwp_text_input_manager_v3", 1)
[2905408.092]  -> wl_registry@27.bind(18, "zwp_text_input_manager_v3", 1, new id [unknown]@41)
[2905408.115]  -> zwp_text_input_manager_v3@41.get_text_input(new id zwp_text_input_v3@42, wl_seat@20)
[2958948.053] zwp_text_input_v3@42.enter(wl_surface@28)
[2958948.686]  -> zwp_text_input_v3@42.enable()
[2958948.766]  -> zwp_text_input_v3@42.set_surrounding_text("", 0, 0)
[2958948.805]  -> zwp_text_input_v3@42.set_text_change_cause(0)
[2958948.866]  -> zwp_text_input_v3@42.set_content_type(0, 0)
[2958948.898]  -> zwp_text_input_v3@42.set_cursor_rectangle(24, 47, 0, 18)
[2958948.935]  -> zwp_text_input_v3@42.commit()

I don't really know anything about wayland, but i'm wondering if this is a winit related issue, since it popping up text seems like something the application itself specifies via some wayland api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C - needs investigationIssue must be confirmed and researchedDS - waylandAffects the Wayland backend, or generally free Unix platforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions