Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.0, 5.6.0 Alpha
-
Windows 8.1 Pro, Visual Studio 2013 Ultimate (Update 4), Qt 5.6, Qt Creator 3.4.2
-
-
916cfed 00a341d, 9ff74f14876dea3a21c1dab389577c54e3bf1bc5
Description
When rotating the a device (screen rotation enabled in the global Windows Phone settings) then the Qml interface rotates exactly one time correctly. Successive rotations lead to a distorted screen.
Steps to reproduce:
1.) Start app with phone in portrait mode
2.) Rotate phone -> Qml screen rotates fine.
3.) Rotate back to portrait -> distorted.
4.) Rotate to landscape -> sometimes ok again, often distorted.
5.) Portrait -> distorted, etc.
Qml:
ApplicationWindow {
title: qsTr("Hello World")
width: 640
height: 480
visible: true
Rectangle
{ anchors.fill: parent color:"yellow" }}
C++:
QApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
Attachments
Issue Links
- is duplicated by
-
QTBUG-46185 QtQuick applications doesn't respect fixed landscape orientation
- Closed
- relates to
-
QTBUG-43502 WP: cannot change orientation of content when user explicit declare landscape in AppxManifest.xml
- Closed