[Development] QInputMethod woes

Uwe Rathmann Uwe.Rathmann at tigertal.de
Wed Jun 13 09:03:13 CEST 2018


Hi all,

when working on our virtual keyboard I had to realize that the design of 
QInputMethod is inappropriate to achieve what we need:

a) the input method is tied to the item having the focus

We have a touch screen but also an special input device, that offers a 
wheel to navigate along the focus tab chain and a few buttons like 'ok'.

So the virtual keyboard is part of the focus tab chain and all its 
buttons need to be accessible with this input device.

And here is where the implemented input method concept fails - as soon as 
navigating inside the virtual keyboard the initial input control loses 
the focus and the input method gets disconnected.

b) multiple screens

Our application runs on several screens, where it is possible to have 
several virtual keyboards - one per screen - at the same time.

The singleton concept of QInputMethod does not support this at all.

Maybe this is worth to be put on the list for Qt6 ?
Uwe




More information about the Development mailing list