Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
5.9.1
-
Qt 5.9.1 on Android
Description
When there is another view shown ontop of Qt's QtQuick scene it steals focus from the main view, breaking back button handling (ie. Keys won't work, an event filter on qApp still does) and text field input. A text field cannot be focused and the keyboard will not open. As soon as the second view hides, everything returns to normal.
Compile the attached example with Qt 5.9, check the "Window visible" checkbox and try typing into the text field. It won't work. On Qt 5.8 this worked fine.
This effectively breaks Qt WebView which just lays a native view ontop of the QtQuick scene and potentially others, such as advertisement SDKs.
I tried calling clearFocus on the view, experimented with WindowDoesNotAcceptFocus (not implemented on Android), requestActivate and various other means to keep the other view from stealing focus but none of them worked.