{ "id": "97859", "key": "TIMOB-10109", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-05-01T22:35:44.000+0000", "created": "2012-07-23T23:26:06.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "linvalid" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:24.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Ti.Gesture listens to deviceorientation which fires events dozens of times a second with the latest accelerometer information. If it detects a change, then it fires the orientationchange event. However, if we never listen to orientationchange, then we are wasting precious resources calculating orientation change that we don't care about.\r\n\r\nThis can be fixed by overriding addEventListener and removeEventListener and doing the deviceorientation event connect/disconnect on an as needed basis. Be sure to only listen once for the deviceorientation event!", "attachment": [], "flagged": false, "summary": "MobileWeb: Only listen for deviceorientation event if explicitly listening for orientationchange event", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "209114", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need to be careful though because the layout algorithm relies on this event to resize it's contents. If we make this change, we need to find a new way of detecting orientation changes, otherwise the layout will still be in the old orientation. Sadly, the orientation change events are unreliable on many devices.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T09:21:42.000+0000", "updated": "2012-07-24T09:21:42.000+0000" }, { "id": "209163", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I stand corrected, that code seems to have been removed at some point in time.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T11:32:43.000+0000", "updated": "2012-07-24T11:32:43.000+0000" }, { "id": "418505", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as \"Won't Fix\" as MobileWeb is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T22:35:44.000+0000", "updated": "2017-05-01T22:35:44.000+0000" }, { "id": "436355", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:24.000+0000", "updated": "2018-04-04T23:20:24.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }