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

[REG:5.9.3->5.9.4] Front camera orientation is wrong for iOS devices which leads to upside down images

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.14.0 Alpha
    • 5.9.4
    • Multimedia
    • None
    • The versions of Qt that I've tested and that show this bug are: 5.9.4, 5.9.5 and 5.10.1.

      The devices I've tested this on are iPad Pro, and and iPhone X.
    • iOS/tvOS/watchOS
    • cbf7548779d399f97a3520a5842d506f9c5bace3 (qt/qtmultimedia/dev)

    Description

      The orientation of the front camera on iOS devices is reported to be 90 degrees when using Qt 5.9.4 and later.  The correct orientation should be 270 degrees.  This results in the image being shown upside down.

      Qt 5.9.3 and earlier correctly report the camera orientation as 270 degrees, and the image is displayed correctly.

      I've also tested the back camera, and this works ok in all Qt versions.

      I have attached a very simple QML application that demonstrates the problem.  If this is built with Qt 5.9.3 or earlier, the camera image is shown correctly oriented.  If it is built with Qt 5.9.4 or later, the camera image is shown upside down.

      Attachments

        1. orientation.patch
          0.5 kB
        2. QmlCameraTest.tar
          10 kB

        Issue Links

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

          Activity

            People

              3.141592 Christian
              mjw999 Mark Williams
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change