{ "id": "91818", "key": "TIMOB-9129", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-05-21T10:32:46.000+0000", "created": "2012-05-14T14:14:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios050912" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [ { "id": "17338", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "91724", "key": "TIMOB-9101", "fields": { "summary": "iOS: Titanium.TabGroup - Navbar comes in partial size after orientation is changed", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:47:55.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": "Description:\r\nNavbar comes in partial size after orientation is changed from portrait to landscape mode.\r\nThis bug exists on 2.0.1 as well.\r\n\r\nSteps to reproduce:\r\n1. Run the following code:\r\n{code}\r\n//Here's the first window...\r\nvar first = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#fff\",\r\n\ttitle : \"My App\",\r\n\tbarImage : 'bartop.png'\r\n});\r\n\r\nif(Ti.Platform.osname == 'android') {\r\n var aLabel = Ti.UI.createLabel({\r\n\t\ttext : \"skip this test\",\r\n\t\ttop : 10,\r\n\t\theight : 30\r\n\t});\r\n\tfirst.add(aLabel);\r\n\tfirst.open();\r\n} else {\r\n\r\n\tvar label = Ti.UI.createLabel({\r\n\t\ttext : \"poke me to open the next window\",\r\n\t\ttop : 0,\r\n\t\theight : 30\r\n\t});\r\n\tfirst.add(label);\r\n\r\n\tvar label2 = Ti.UI.createLabel({\r\n\t\ttext : \"poke me to open the next window\",\r\n\t\ttop : 40,\r\n\t\theight : 30\r\n\t});\r\n\r\n\t//Here's the nav group that will hold them both...\r\n\tvar navGroup = Ti.UI.iPhone.createNavigationGroup({\r\n\t\twindow : first\r\n\t});\r\n\r\n\t//Here's a window we want to push onto the stack...\r\n\tvar second = Ti.UI.createWindow({\r\n\t\tbackgroundColor : \"#fff\",\r\n\t\ttitle : \"Child Window\",\r\n\t\tbarImage : 'bartop.png'\r\n\t});\r\n\tsecond.add(label2);\r\n\r\n\t//Here's a window we want to push onto the stack...\r\n\tvar third = Ti.UI.createWindow({\r\n\t\tbackgroundColor : \"#fff\",\r\n\t\ttitle : \"I'm a hidden title\",\r\n\t\tbarImage : 'bartop.png'\r\n\t});\r\n\tthird.add(Ti.UI.createLabel({\r\n\t\ttext : \"Here's the child with hidden title\",\r\n\t\tcolor : '#000000'\r\n\t}));\r\n\r\n\t//When the label on the first window receives a touch, open the second\r\n\tlabel.addEventListener(\"click\", function(e) {\r\n\t\tnavGroup.open(second);\r\n\t});\r\n\t//When the label on the first window receives a touch, open the second\r\n\tlabel2.addEventListener(\"click\", function(e) {\r\n\t\tnavGroup.open(third);\r\n\t});\r\n\t//This is the main window of the application\r\n\tvar main = Ti.UI.createWindow();\r\n\tmain.add(navGroup);\r\n\tmain.open();\r\n}\r\n{code}\r\n2. Press the \"poke me to open the next window\" label \r\n3. Rotate device to the lanscape mode\r\n\r\nExpected result:\r\nThe navbar should fill all width of the screen\r\n\r\nActual result:\r\nNavbar comes in partial size ", "attachment": [ { "id": "27683", "filename": "Screenshot 2012.05.14 14.08.55.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-14T14:14:03.000+0000", "size": 130015, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Titanium.NavGroup - Navbar comes in partial size after orientation is changed", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 2.0.2.201205111839\r\nTitanium SDK: 2.0.2.v20120510223154\r\nDevice: iPad 3 Gen (5.1.1)", "comment": { "comments": [ { "id": "410837", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:47:55.000+0000", "updated": "2017-03-09T22:47:55.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }