GNOME Bugzilla – Bug 671454
The on-screen keyboard ignores events from the Caribou daemon
Last modified: 2018-07-13 16:08:03 UTC
Created attachment 209064 [details] [review] The timer-based approach patch to regulate keyboard show and hide transitions The current timestamp based mechanism regulating the keyboard show and hide transitions malfunctions when messages are sent rapidly and there are duplicate messages as in the case of Caribou at-spi listener daemon resulting in no keyboard automatic popup with terminal, browser and other applications. The presented patch uses a timer-based approach to regulate the show and hide transitions solving the mentioned problem.
The keyboard behavior with the patch applied is as follows: - when the D-Bus show/hide event is received the timer for 1 s. is activated; - if a counter-event is received within the timer interval the timer is canceled and the keyboard state is left unchanged; - otherwise the keyboard show/hide transition (tweeing) is activated. The above procedure allows not to disturb the keyboard when a control loses focus for a short amount of time, i.e. when the user switches the active window (Alt+Tab, Alt+~) or is stepping through a form fields with the Tab key.
Caribou is no longer used for the onscreen keyboard.