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

Screen rotation broken on Windows Phone 8.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.0, 5.6.0 Alpha
    • Fix Version/s: 5.6.0 RC
    • Component/s: GUI: Window management
    • Labels:
    • Environment:
      Windows 8.1 Pro, Visual Studio 2013 Ultimate (Update 4), Qt 5.6, Qt Creator 3.4.2
    • Platform/s:
      WinRT
    • Commits:
      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

          For Gerrit Dashboard: QTBUG-44333
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              samuelnevala Samuel Nevala
              Reporter:
              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