Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44333

Screen rotation broken on Windows Phone 8.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.4.0, 5.6.0 Alpha
    • GUI: Window management
    • Windows 8.1 Pro, Visual Studio 2013 Ultimate (Update 4), Qt 5.6, Qt Creator 3.4.2
    • WinRT
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              samuelnevala Samuel Nevala
              DanielSt Peter Staab
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes