{ "id": "63733", "key": "TIMOB-3101", "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": "11257", "description": "", "name": "Sprint-2011-09", "archived": true, "released": true, "releaseDate": "2011-03-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-16T15:04:45.000+0000", "created": "2011-04-15T03:37:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "orientation", "release-1.7.0", "reported-1.6.0", "rotation" ], "versions": [], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-05-16T15:04:45.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}

Currently, when orientation is manually set to an orientation\nthat doesn't match the current physical orientation it can switch\nback to the physical orientation almost immediately. This is due to\nthe check for orientation changing whenever the orientation degree\nchanges slightly.

\n

We should change this behavior to only actually change the\norientation if there is a 45+ degree change from the current\norientation.

{html}", "attachment": [], "flagged": false, "summary": "Android: change rotation behavior to require a stronger shift in angle", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "130071", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Replacing reported-1.6 tag with the standard\nreported-1.6.0 tag.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:37:00.000+0000", "updated": "2011-04-15T03:37:00.000+0000" }, { "id": "130072", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [d55abb0d6cc6be9d8803239e7ebd028fdc1a3702])\n[#3101 state:fixed-in-qa] [#3100\nstate:in-progress] update orientation mechanism to use tighter\nshift band

\n

updated orientation mechanism to use tighter shift badn of +- 10\ndegrees off center of new orientation to cause orientation shift.\nAlso updated logic to disable setting orientation to an orientation\nthat is not listed in the orientationModes. #3100 is\nstill in progress because it requires more discussion with iOS team\nduring planning week to decide on a unified long term approach to\nmanually setting orientation change.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/d55abb0d6cc6...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:37:00.000+0000", "updated": "2011-04-15T03:37:00.000+0000" }, { "id": "130073", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Moving back to in-progress due to odd behavior noted.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:37:01.000+0000", "updated": "2011-04-15T03:37:01.000+0000" }, { "id": "130074", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

(from [24c9f9d79971d07b84a9bec1e278efe0f15422b4])\n[#3100 state:fixed-in-qa] [#3101\nstate:fixed-in-qa] updated orientation mechanism to correctly check\nfor valid orientation

\n

change logic for checking valid orientation. also included fix\nfor handling setting orientation when current orientation is not\nvalid.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/24c9f9d79971...

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:37:01.000+0000", "updated": "2011-04-15T03:37:01.000+0000" }, { "id": "133746", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified visually (and assisted by the KS accelerometer test output)that orientation change occurs at approx 66 degrees off vertical. Verified on Droid 2.2.1 and Nexus S 2.3.2. Closing.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-16T15:04:45.000+0000", "updated": "2011-05-16T15:04:45.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }