{ "id": "63100", "key": "TIMOB-2468", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:20:35.000+0000", "created": "2011-04-15T03:20:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "orientation", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:28:22.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

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

\n

behavior change since last weeks pull (1.5.0.91838a)

\n

1.Phone > orientation
\n2.hold it in portrait
\n3.Tap set landscape

\n

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

\n

expected: report back device orientation

{html}", "attachment": [], "flagged": false, "summary": "Android: orientation - orientation returns app orientation (not device orientation) ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128548", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:34.000+0000", "updated": "2011-04-15T03:20:34.000+0000" }, { "id": "128549", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:34.000+0000", "updated": "2011-04-15T03:20:34.000+0000" }, { "id": "128550", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

AAAAAARGH I mean device - we used to report device orientation\nin 1.4.2

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:34.000+0000", "updated": "2011-04-15T03:20:34.000+0000" }, { "id": "128551", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:34.000+0000", "updated": "2011-04-15T03:20:34.000+0000" }, { "id": "128552", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

invalidating

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:35.000+0000", "updated": "2011-04-15T03:20:35.000+0000" }, { "id": "408467", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:28:22.000+0000", "updated": "2017-03-02T19:28:22.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }