Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.4.1, 5.5.1, 5.7.0
-
None
-
Android only (version 5 and 6).
Tested on 3 different tablets (Nexus 9, Pixel C, Sony Xperia).
Description
On Android platform only (no problem on Windows or iOS),
if you set flags on your Window object with setFlags function (http://doc.qt.io/qt-5/qwindow.html#flags-prop),
and if you create and display a Webview,
then QApplication focus is broken so you can't take focus on components anymore.
It's strange because in the case of a textfield, the component visually reacts (focus highlight) but the virtual keyboard doesn't appear and QApplication::focusObject remains NULL.
You can reproduce with the project attached.
Deploy it on Android, click "set Flags" button then "show Webview" button, now you can't take focus and type in the textfield.