Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7924] Android: Ti.Gesture.orientation should report device orientation, not screen orientation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-03-20T12:28:00.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsparity
ReporterArthur Evans
AssigneeMarshall Culpepper
Created2012-03-08T00:10:29.000+0000
Updated2017-03-10T19:15:35.000+0000

Description

In the current implementation, Ti.Gesture.orientation and Ti.UI.Window.orientation return exactly the same information--the current window's orientation. iOS reports the current physical orientation of the device, regardless of the window orientation, which seems like the correct thing to do.

Comments

  1. Marshall Culpepper 2012-03-20

    This looks to be a duplicate of TIMOB-7891, please re-open if that is not the case
  2. Lee Morris 2017-03-10

    Closing ticket as duplicate.

JSON Source