{ "id": "111821", "key": "TIMOB-13235", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15396", "description": "2013 Sprint 07 Core", "name": "2013 Sprint 07 Core", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-28T22:25:57.000+0000", "created": "2013-03-28T08:09:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_imageview", "qe-sdk3.1.0", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:48.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": "Steps to Reproduce:\r\n1. Create an application with code below and launch the application\r\n2. Click and verify Tab 1, Tab 2 and Tab 3.\r\n\r\nActual: \r\n1. In Tab 1, image appears in portrait mode on both iOS and Android\r\n2. In Tab 2, image appears in landscape mode on iOS but appears in potrait on Android\r\n3. In Tab 3, image appears in potrait mode on iOS but appears in landscape on Android\r\n\r\nExpected: Should match the image autorotate properties on iOS and Android.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n backgroundColor:'white',\r\n title:'AUTOROTATE - TRUE'\r\n });\r\n var image1 = Ti.UI.createImageView({\r\n autorotate: true,\r\n image: 's2.jpg'\r\n })\r\n \r\n win1.add(image1);\r\n var win2 = Titanium.UI.createWindow({\r\n backgroundColor:'white',\r\n title:'AUTOROTATE - FALSE'\r\n });\r\n var image2 = Ti.UI.createImageView({\r\n autorotate: false,\r\n image: 's2.jpg'\r\n })\r\n win2.add(image2);\r\n var win3 = Titanium.UI.createWindow({\r\n backgroundColor:'white',\r\n title:'AUTOROTATE - UNDEFINED'\r\n });\r\n var image3 = Ti.UI.createImageView({\r\n image: 's2.jpg'\r\n })\r\n win3.add(image3);\r\n \r\n var tab1 = Ti.UI.createTab({\r\n title:'TAB1',\r\n window:win1\r\n })\r\n var tab2 = Ti.UI.createTab({\r\n title:'TAB2',\r\n window:win2\r\n })\r\n var tab3 = Ti.UI.createTab({\r\n title:'TAB3',\r\n window:win3\r\n })\r\n \r\n var tabGrp = Ti.UI.createTabGroup();\r\n tabGrp.addTab(tab1);\r\n tabGrp.addTab(tab2);\r\n tabGrp.addTab(tab3);\r\n tabGrp.open();\r\n{code}", "attachment": [ { "id": "36763", "filename": "s2.jpg", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T22:19:15.000+0000", "size": 2323112, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: ImageView: 'Autorotate' property behavior should match on iOS and Android", "creator": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK - 3.1.0.v20130327135307\r\nStudio - 3.1.0.201303261815\r\nDevice: Samsung Galaxy Tab 3.2, Nexus 7 (V4.1)\r\nMac OS - 10.8\r\nCLI - 3.0.25-alpha", "comment": { "comments": [ { "id": "244502", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Dhirendra, is this behavior new?\n", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T18:05:26.000+0000", "updated": "2013-03-28T18:05:26.000+0000" }, { "id": "244526", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The behavior is Tab 2 is incorrect. Tab 3 is fine, since the default behavior for iOS and Android are different (for performance reasons).\nWill look into this.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T20:19:00.000+0000", "updated": "2013-03-28T20:19:00.000+0000" }, { "id": "244529", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/4049", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T20:40:48.000+0000", "updated": "2013-03-28T20:40:48.000+0000" }, { "id": "246138", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Behaviour is now same on both iOS and android.\r\nEnvironment used for verification -\r\nTitanium SDK: 3.1.0.v20130405170202\r\nTitanium  Studio:3.1.0.201304011603\r\nDevice: Samsung GALAXY Tab (3.2) and Nexus 7 Android 4.1 and iPad 4 iOS 6.0", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-06T09:49:22.000+0000", "updated": "2013-04-06T09:49:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }