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

WP: cannot change orientation of content when user explicit declare landscape in AppxManifest.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.0
    • Fix Version/s: 5.5.0 Beta
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Windows 8.1
      Qt 5.4.0 for Windows RT
      Windows Phone 8.1
    • Platform/s:
      WinRT
    • Commits:
      916cfed

      Description

      We know that force an application landscape on Windows Phone 8.1 we should follow the step like that:
      http://qt-project.org/forums/viewthread/50668/
      And to set this in AppxManifest.xml, we need to add the following configuration in AppxManifest.xml:

      <m3:InitialRotationPreference>
      <m3:Rotation Preference="landscape" />
      </m3:InitialRotationPreference>

      Now comes the question: when I set this configuration in AppxManifest.xml, and run my application on Windows Phone 8.1, the orientation of system is indeed landscape whereas the content of Qt Quick( or QML Window ) is not landscape. worse still any MouseArea in original relative position are becoming invalid.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              andrew.knight Andrew Knight
              Reporter:
              jiangcaiyang Jiang Yimin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes