Comment 8 for bug 1377755

Revision history for this message
Olivier Tilloy (osomon) wrote :

Regarding the flickering of the layouts: it seems that when requested to hide, the OSK queries the application for input hints (Qt::ImHints). At this point (when the first field has been unfocused, but the second one hasn’t received focus yet) the text input type has been reset, so oxide returns Qt::ImhNone, and as a consequence the layout is briefly reset to the default one.
Then the second field gets the focus, the OSK is requested to show again, and it queries the application for input hints, and oxide returns Qt::ImhEmailCharactersOnly.

It seems to me that we could avoid that by preventing the OSK from querying the application for input hints when it’s been requested to hide. What’s the point of changing the layout if the keyboard is going to hide anyway?