Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1385

QOrientationSensor::reading() does return null before actuall rotation. (not possible to read inital orientation)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 1.1.x, 1.2.0
    • Sensors
    • None
    • Harmattan, Meego, Maemo 5

      As an developer I'd like to be able to read the orientation in which the device is rotated when my application is started.

      I think it should be possible by QOrientationSensor::reading()->orientation();

      Expected outcome:
      Current Orientation

      Actual outcome:
      OrientationReading is null. Only after you rotated the device once than it returns correct orientation.

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

            lramsay Lincoln Ramsay (closed Nokia identity) (Inactive)
            jeremias.bosch Jeremias Bosch
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes