{ "id": "102295", "key": "TIMOB-11194", "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": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14157", "description": "Sprint 2012-20 API", "name": "Sprint 2012-20 API", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-06T02:45:43.000+0000", "created": "2012-09-27T12:23:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "ios6", "module_views", "qe-ios090112", "qe-testadded", "regression" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "21623", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102341", "key": "TIMOB-11203", "fields": { "summary": "iOS: Views: View on window with vertical layout first drawn from left top then to the center (top).", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-24T10:17:29.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": "View on window with vertical layout first drawn on centre of screen and then is re drawn on top.\r\n\r\nThis is regression.It does not occurs on 2.1.2.GA\r\n\r\nSteps to Reproduce:\r\n\r\n1. Install and launch the app on device.\r\n2. Click on the button \"click\"\r\n\r\nActual Result:\r\nAfter Step2: The red view initially appears in center of the screen for a moment and then moves to the top\r\n\r\nExpected Result:\r\nIt should appear on top.\r\n\r\napp.js\r\n{code}\r\nvar win1 = Ti.UI.createWindow({\r\n\t \r\n\t title :'Win 1',\r\n\t\tlayout :'vertical',\r\n\t\tbackgroundColor :'#fff'\r\n});\r\n\r\nvar btn=Ti.UI.createButton({\r\n\t\r\n\ttitle:'click'\r\n\t\r\n})\r\n\r\nwin1.add(btn);\r\n\r\nbtn.addEventListener('click', function(e){\r\n\t\r\n\r\nvar win = Ti.UI.createWindow({\r\n\t \r\n\t title :'Win 1',\r\n\t\tlayout :'vertical',\r\n\t\tbackgroundColor :'white'\r\n});\r\n\t\t \r\n\t\tvar vw1 = Ti.UI.createView({\r\n\t\t layout:'horizontal',\r\n\t\t backgroundColor:'red',\r\n\t\t width:'100%',\r\n\t\t height:75,\r\n\t\t \r\n\t\t});\r\n\t\twin.add(vw1);\r\n\t\t \r\n\t\t\r\nwin.open();\r\n\r\n});\r\n\r\nwin1.open();\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Views: View on window with vertical layout first drawn on centre of screen and then is re-drawn on top.", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium Studio:2.1.2.201208301612\r\nTested with Titanium SDK: 2.1.3.v20120926141610\r\niOS Device: iPhone 4s(5.1),iOS Simulator 6.0\r\nOS: Mac OSX 10.8.1\r\nXcode : 4.5", "comment": { "comments": [ { "id": "221214", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending \nhttps://github.com/appcelerator/titanium_mobile/pull/3062 for master\nhttps://github.com/appcelerator/titanium_mobile/pull/3063 for 2_1_X", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T16:54:16.000+0000", "updated": "2012-09-27T16:54:16.000+0000" }, { "id": "221302", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\nTested on:\r\nTitanium studio : 2.1.2.201208301612\r\nSDK version : 2.1.3.v20120927151612\r\nIphone 5 iOS 6\r\nIphone 4 (5.1.1)\r\nxcode 4.5\r\nMac OSX 10.8.2", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T23:51:46.000+0000", "updated": "2012-09-27T23:51:46.000+0000" }, { "id": "221311", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "forgot to add master branch version.\nVerified the fix with:\nTested on:\nTitanium studio : 2.1.2.201208301612\nSDK version : 2.1.3.v20120927151612 , 3.0.0.v20120927164913\nIphone 5 iOS 6\nIphone 4 (5.1.1)\nxcode 4.5\nMac OSX 10.8.2", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-28T00:22:14.000+0000", "updated": "2012-09-28T00:22:14.000+0000" }, { "id": "222381", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened to adjust remaining estimate.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-06T02:45:43.000+0000", "updated": "2012-10-06T02:45:43.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }