Atm, there is no way around as long as we have qtwebkit as the backend and we unfortunately have to work around it for now :(
The KeyboardRectangle in the webbrowser-app is passive indeed, and does not trigger anything, it is there to allow the autopilot tests to work better when the OSK is around (to have an idea about the amount of real estate that it occupies).
There is an upstream bug w/ qtwebkit about a js focus() not triggering the OSK:
https:/ /bugs.launchpad .net/ubuntu/ +source/ ubuntu- keyboard/ +bug/1220264
Atm, there is no way around as long as we have qtwebkit as the backend and we unfortunately have to work around it for now :(
The KeyboardRectangle in the webbrowser-app is passive indeed, and does not trigger anything, it is there to allow the autopilot tests to work better when the OSK is around (to have an idea about the amount of real estate that it occupies).