Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2468] Android: orientation - orientation returns app orientation (not device orientation)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:20:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M04
ComponentsAndroid
Labelsandroid, orientation, regression
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:20:34.000+0000
Updated2017-03-02T19:28:22.000+0000

Description

Titanium SDK version: 1.5.0 (11/29/10 08:10 faa27c7). G2 (2.2) some G1 (1.6) some droid 1 (2.2) and a bit of sim (2.1)

behavior change since last weeks pull (1.5.0.91838a)

1.Phone > orientation
2.hold it in portrait
3.Tap set landscape

results: app goes to landscape, on screen values report "landscape left", while the device is being held in portrait

expected: report back device orientation

Comments

  1. Don Thorp 2011-04-15

    Not sure this is a regression per se we've always reported the activities orientation not device orientation. If they wanted device orientation they would set a listener for it.

  2. Thomas Huelbert 2011-04-15

    should have added : in 1.4.2 we seem to be reporting app and not device orientation.

  3. Thomas Huelbert 2011-04-15

    AAAAAARGH I mean device - we used to report device orientation in 1.4.2

  4. Marshall Culpepper 2011-04-15

    Orientation changes are reported per-Activity in Android, so the old app-wide behavior was probably just attached to the root activity, which would've been problematic as well. I don't know that this is necessarily a regression -- just a truer following of how Android deals with orientation change. Can we mark as invalid?

  5. Thomas Huelbert 2011-04-15

    invalidating

  6. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source