Fedora 34 with maliit-keyboard in a built-from-source Plasma Wayland session. Right now whenever an input field gets focus for any reason, the virtual keyboard appears. This happens for all apps--KDE, GNOME, Electron, and so on. This behavior is annoying and inappropriate for cases when there is actually a physical keyboard attached. If there is a physical keyboard attached, the virtual keyboard should only appear if an input field is explicitly tapped with a touchscreen. Only when no physical keyboard is attached does it make sense to activate the virtual keyboard for all input field activations.
Agreed. I've looked into it and have not entirely found the right hook so everything works properly. At the moment we are abusing the internal keyboard focus property also for touch and I'm afraid changing it will break mayhem (i.e. we don't want to end up with different focus surfaces for the keyboard and touch). I'm confident it can be done, I've to spend some more time with it to find the right place to change it. (Of course, if someone beats me to it, it's very welcome).
I'll be happy to test any mayhem-producing attempts :)
*** Bug 440195 has been marked as a duplicate of this bug. ***
*** Bug 441848 has been marked as a duplicate of this bug. ***
Fixed now.