Skip to content
Commit 5921d658 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Do not focus the searchfield on startup if a virtual keyboard is enabled

If a virtual keyboard (like Maliit) is enabled, we end up always showing
the virtual keyboard on startup, while there are many cases where a user
would not use the search. So make use of new API added to Kirigami to
detect if a virtual keyboard is enabled and only focus the search field
if there is no virtual keyboard enabled.

(cherry picked from commit 072883ae)

Note that this commit was adjusted to check for the existence of the
InputMethod singleton to ensure we don't break things when running with
Kirigami 5.90.
parent c092d953
Pipeline #125242 failed with stage
in 19 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment