{ "id": "80601", "key": "TIMOB-5359", "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": "12085", "description": "Mobile @ HQ", "name": "Sprint 2011-45", "archived": true, "released": true, "releaseDate": "2011-11-14" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "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": "2011-11-14T12:21:00.000+0000", "created": "2011-09-26T08:37:22.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "navbar", "regression", "tabgroup" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-01-11T14:36:46.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\nIn fullscreen window the navBar is not located on the top of the screen (it has an extra padding).\r\n\r\nREGRESSION - works fine on SDK 1.7.2\r\n\r\nh3. Reproducible steps\r\n1. Execute the sample code\r\n2. Press \"Win2\" button (the navBar is not on the top however it is a fullscreen window) \r\n3. Press \"Tab1\" and change the orientation to landscape\r\n4. Press \"Win2\" (on landscape the navBar is not on the top)\r\n\r\nh3.Sample Code\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 navBarHidden: false,\r\n tabBarHidden: true\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar b1 = Titanium.UI.createButton({\r\n\ttitle:'Win 2',\r\n\theight:40,\r\n\twidth:200,\r\n\ttop:30\r\n});\r\n\r\nwin1.add(b1);\r\n\r\nb1.addEventListener('click', function(e)\r\n{\r\n var w = Titanium.UI.createWindow({\r\n\tfullscreen:true,\r\n\t//url:'new_win.js',\r\n\tbarColor:'#111'\r\n });\r\n \r\n tab1.open(w);\r\n});\r\n\r\ntabGroup.addTab(tab1); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/a/APP-751215", "attachment": [ { "id": "23056", "filename": "nav1.png", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-26T08:37:22.000+0000", "size": 112022, "mimeType": "image/png" }, { "id": "23057", "filename": "nav2.png", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-26T08:37:22.000+0000", "size": 114470, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: tabGroup navbar - navBar does not appear on the top", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 4.3, Simulator,\r\nSDK 1.8.0.v20110915133349", "comment": { "comments": [ { "id": "172562", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested against 1.8.0.1.5457cb3, iPhone Sim 5.0. Could not reproduce in this version; probably because Blain re-enabled setting the application frame on rotation.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T12:21:00.000+0000", "updated": "2011-11-14T12:21:00.000+0000" }, { "id": "178937", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due being fixed/not being able to reproduce\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.8.0.1\r\nOSX Lion\r\niPhone 4S OS 5.0.1, iPhone sim 4.3", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T14:36:46.000+0000", "updated": "2012-01-11T14:36:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }