{ "id": "91724", "key": "TIMOB-9101", "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:34:41.000+0000", "created": "2012-05-10T16:46:54.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" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "17339", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "91676", "key": "TIMOB-9083", "fields": { "summary": "iOS: barImage does not resize as per the orientation ", "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 } } } }, { "id": "17338", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "91818", "key": "TIMOB-9129", "fields": { "summary": "iOS: Titanium.NavGroup - 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:48:35.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 also exists on 2.0.1, 1.8.1 and 2.1.0\r\n\r\nSteps to reproduce:\r\n1. Run the following code on iPad:\r\n\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n \r\n \r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff',\r\n barImage:'nav_bg.png',\r\n tabBarHidden:true\r\n});\r\n \r\nvar button = Ti.UI.createButton({\r\n title:'open',\r\n width:100,\r\n height:50\r\n});\r\n \r\nbutton.addEventListener('click', function() {\r\n //win2.open();\r\n tabGroup.activeTab.open( win2 );\r\n})\r\n \r\nwin1.add(button);\r\n \r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff',\r\n barImage:'nav_bg_2.png',\r\n});\r\n \r\nvar tab1 = Titanium.UI.createTab({ \r\n title:'Tab 1',\r\n window:win1\r\n});\r\n \r\n \r\ntabGroup.addTab(tab1); \r\n \r\n// open tab group\r\ntabGroup.open();\r\n{code}\r\n2. Rotate device to landscape mode\r\n\r\nExpected result:\r\nThe navbar should fill all width of the page\r\n\r\nActual result:\r\nNavbar comes in partial size (see attachments)", "attachment": [ { "id": "27643", "filename": "Screenshot_tab1.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T16:46:54.000+0000", "size": 61758, "mimeType": "image/png" }, { "id": "27644", "filename": "Screenshot_tab2.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T16:46:54.000+0000", "size": 62856, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Titanium.TabGroup - 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.1.201204261628\r\nTitanium SDK: 2.0.2.v20120505151714\r\nDevice: iPad 3 Gen (5.1.1)", "comment": { "comments": [ { "id": "410841", "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:48:35.000+0000", "updated": "2017-03-09T22:48:35.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }