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

Details

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

    Description

      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.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: