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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical 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)

      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.

        1. orientation.patch
          0.5 kB
        2. QmlCameraTest.tar
          10 kB
        For Gerrit Dashboard: QTBUG-67985
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change