{ "id": "85641", "key": "TIMOB-7451", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-03-15T12:46:40.000+0000", "created": "2012-01-27T11:40:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15781", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "64173", "key": "TIMOB-3541", "fields": { "summary": "iOS: Implement Composite Layout Behavior Spec", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "15784", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "85766", "key": "TIMOB-7490", "fields": { "summary": "iOS : View/Window - When using the vertical layout property on views that are added to windows, certain content of the view is not shown", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-30T13:09:51.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Problem\r\n\r\nLeft property of the view is not working correctly in the device.\r\n\r\nh3. Reproducible steps:\r\n \r\n1. Test the code below in the device with 1.8.0.1 Titanium SDK.\r\nPlease see the behavior in the Device-1.8.0.1 Ti SDK-5.01 iOS SDK.mov attached video.\r\n\r\n2. Test the code below in the simulator with 1.8.0.1 Titanium SDK.\r\nPlease see the behavior in the Simulator-1.8.0.1 Ti SDK-5.01 iOS SDK.mov attached video.\r\n\r\n\r\nNote: In the device, and simulator you will get different behavior. \r\n\r\n3. Test the code below in the device, and simulator with 1.7.5 Titanium SDK.\r\n\r\nNote: Good behavior. Same behavior in the device, and simulator using 1.7.5 Titanium SDK.\r\n\r\nh3. Expected behavior:\r\n\r\nCustomer wants to have the same behavior in the device using 1.8.0.1 Titanium SDK like\r\nSimulator-1.8.0.1 Ti SDK-5.01 iOS SDK attached video.\r\n\r\nh3. More info:\r\n\r\nNote: Good behavior in device with 1.7.5 Titanium SDK\r\n\r\n\r\nh3. Tested with the next specs:\r\nSimulator\r\nTitanium Studio, build: 1.0.9.201201251947\r\niOS SDK: 5.0.1\r\nTitanium SDK: 1.8.0.1 & 1.7.5\r\n\r\nDevice: iphone 4.\r\nVersion of the device: 5.0.1\r\n\r\nh3.Code:\r\n\r\n{code}\r\nvar App = {};\r\nvar\r\n\tcreateBottomView,\r\n\tcreateWindow,\r\n\tchangeOrientation,\r\n\tsetPortrait,\r\n\tsetLandscape\r\n;\r\n\r\nvar\r\n\tgalleryViewWin,\r\n\tpreviewPane,\r\n\tbottomViews = []\r\n;\r\n\r\nchangeOrientation = function() \r\n{\r\n\tswitch (Ti.UI.orientation) \r\n\t{\r\n\t\tcase Ti.UI.PORTRAIT:\r\n\t\tcase Ti.UI.UPSIDE_PORTRAIT:\r\n\t\t\tsetPortrait();\r\n\t\t\tbreak;\r\n\t\tcase Ti.UI.LANDSCAPE_LEFT:\r\n\t\tcase Ti.UI.LANDSCAPE_RIGHT:\r\n\t\t\tsetLandscape();\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t}\r\n};\r\n\r\nsetLandscape = function() \r\n{\r\n\tvar i;\r\n\t\r\n\tpreviewPane.top = 4;\r\n\tpreviewPane.left = 155;\r\n\r\n\tfor(i=0; i