Sending text input events without having received "enter" and without having requested enable
Previously (phoc): "We currently flood the log with Text input commit received without focus
"
We have about 30 of these per second:
2019-04-15 11:46:37 - [subprojects/wlroots/types/wlr_text_input_v3.c:179] Text input commit received without focus
2019-04-15 11:46:37 - [src/text_input.c:140] Inactive text input tried to commit an update
so s.th. is wrong in that area.
Feature: Librem5/phoc#10 (closed) (-Dorota)
EDIT: The application is sending some events without having a good reason to do so:
$ WAYLAND_DEBUG=1 LD_LIBRARY_PATH=`pwd`/../../gestures/gtk-install/lib python3 ./tools/entry.py 2>&1 | grep text_input
[2567780.915] wl_registry@2.global(21, "zwp_text_input_manager_v3", 1)
[2567888.713] wl_registry@21.global(21, "zwp_text_input_manager_v3", 1)
[2567888.736] -> wl_registry@21.bind(21, "zwp_text_input_manager_v3", 1, new id [unknown]@32)
[2567888.751] -> zwp_text_input_manager_v3@32.get_text_input(new id zwp_text_input_v3@33, wl_seat@15)
-- should wait for "enter"
---- should send "enable", only then the following should happen
[2570904.081] -> zwp_text_input_v3@33.set_surrounding_text("", 0, 0)
[2570904.104] -> zwp_text_input_v3@33.set_text_change_cause(1)
[2570904.111] -> zwp_text_input_v3@33.commit()
No "enter" is an acceptable condition if there's no input method provider.
Edited by Dorota Czaplejewicz