Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.10.1, 5.11.0, 5.12.4, 5.15.6
Description
I included a minimally reproducing project.
Steps to reproduce:
- Build project on Mac OS X
- Launch app qmlbug
- Focus another application
- Get back to the qmlbug window
- The text field cannot be focused nor can we modify the text
NB: this only appears on Mac, and only if the Qml View is embedded inside a QWidget-based application using createWindowContainer.
NB2: after "breaking" the state of the text field, it can be restored by focusing another widget of the same application. The sample project does not have any other widget so you cannot experiment it, but in my company's application we do and after focusing a DockWidget for example all text fields start working correctly again.
I am interested in workarounds while waiting for the fix, if they exist.
Attachments
Issue Links
- duplicates
-
QTBUG-32175 Mac OS: QWidget::createWindowContainer loses focus and can't get it back
-
- Closed
-