Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8, 6.9
Description
QML Screen type does not receive updates from inside QtQuickView.
How to reproduce:
- Open QtQuickView QML content source file of any of our QtQuickView examples.
- Write:
Screen.onPrimaryOrientationChanged: { console.log("Screen primary orientation changed") }inside the root object of the QML file. (Reproduces with any other onChanged slot correlating with Screen properties)
- Run QtQuickView example using the modified QML content source file.
Expectation:
- Logcat should print "Screen primary orientation changed" when changing target device orientation.
- Screen.onPrimaryOrientationChanged should receive the event of the primaryOrientation property changing.
What happens:
- Logcat does not print "Screen primary orientation changed" when changing orientation.
- Screen type does not receive any updates after application launch.
Expected results can be viewed when using the exact same logging in plain QML/Qt Quick example/project application, without the QtQuickView.