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

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.1.x, 1.2.0
    • Fix Version/s: None
    • Component/s: Sensors
    • Labels:
      None
    • Environment:
      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.
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes