{ "id": "81372", "key": "TIMOB-5822", "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:20:39.000+0000", "created": "2011-10-11T00:43:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:37.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": "Navbar size is scrambled in several ways: \r\n\r\n1) does not get thinner when rotating to landscape\r\n\r\n2) is repainted at wrong size (thin instead of full) after orientation change back to portrait. E.g.: \r\n- on a win with orientationModes set to portrait, open (in tab) a new win with all orientationModes allowed\r\n- rotate to landscape, then go back: the previous win forces rotation back to portrait, but its navbar is repainted as if 32px high instead of the correct 44px \r\n\r\nNeither was a problem in previous SDK versions up to and including 1.7.1\r\n\r\n{code:title=app.js|borderStyle=solid}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n navBarHidden:false\r\n});\r\nwin.orientationModes = [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttop:100, width:200, height:50,\r\n\ttitle:\"Open landscape win\"\r\n});\r\nbtn.addEventListener('click', function () {\r\n\tvar win2 = Ti.UI.createWindow({\r\n\t\tnavBarHidden:false, backgroundColor:'gray'\r\n\t});\r\n\twin2.orientationModes = [Ti.UI.PORTRAIT,Ti.UI.UPSIDE_PORTRAIT,Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT]\r\n\t\r\n\tvar message = Ti.UI.createLabel({\r\n\t\ttop:60, left:20, right:20, height:'auto',\r\n\t\ttext:\"1) Rotate to landscape: navBar is NOT changing to 32px high...\\n2) Now press back WHILE IN LANDSCAPE and look at the navBar of root win!\"\r\n\t});\r\n\twin2.add(message);\r\n\ttab1.open(win2);\r\n});\r\nwin.add(btn);\r\n\r\nvar tabGroup = Ti.UI.createTabGroup({});\r\nvar tab1 = Titanium.UI.createTab({window:win});\r\ntabGroup.addTab(tab1);\r\ntabGroup.setActiveTab(1);\r\ntabGroup.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "23446", "filename": "Screen Shot 2011-10-11 at 10.41.14.png", "author": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-11T00:43:23.000+0000", "size": 99095, "mimeType": "image/png" }, { "id": "23447", "filename": "Screen Shot 2011-10-11 at 10.42.06.png", "author": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-11T00:43:23.000+0000", "size": 101147, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: navbar size wrong after orientation change", "creator": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK version: 1.7.2.97c3689, 1.7.3.dcf4257 \r\nPlatform & version: iOS 5.0 \r\nDevice Details: iOS simulator, iPhone 3GS \r\nHost Operating System: OSX 10.7.2 \r\nTitanium Studio version: 1.0.4.201108101535", "comment": { "comments": [ { "id": "168894", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thank you for raising this ticket.\r\n\r\nIf you are able to provide all the information described in the [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] guidelines, *in the correct fields and using the right format*, we will be able to raise it with the core team.\r\n\r\nThanks in advance.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-10-11T16:39:49.000+0000", "updated": "2011-10-11T16:39:49.000+0000" }, { "id": "169287", "author": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "body": "Paul, I added all the details.\r\n\r\nPlease give priority to this one: we have a published app that on iOS 5 suffers from the well known (and fixed in 1.7.3.x builds) graphics glitch in custom navbars.\r\n\r\nWe cannot update if that means introducing a new graphical glitch ;-)\r\n\r\nMario\r\n\r\n", "updateAuthor": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-14T08:12:09.000+0000", "updated": "2011-10-14T08:12:34.000+0000" }, { "id": "169544", "author": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello, Paul.\r\n\r\nIs there anything still missing from my submission?\r\n\r\nM.", "updateAuthor": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-18T09:05:10.000+0000", "updated": "2011-10-18T09:05:10.000+0000" }, { "id": "169801", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Banzia,\r\n\r\nIs this still an issue with the GA release of 1.7.3? if so, please update the ticket to reflect this.\r\n\r\nOnce that is clarified I will go ahead and accept this ticket.\r\n\r\nBest regards,\r\nMatt", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-20T09:01:20.000+0000", "updated": "2011-10-20T09:01:20.000+0000" }, { "id": "169981", "author": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Matt,\r\n\r\nyes it is still an issue with the official released 1.7.3 SDK.\r\n\r\nTicket updated.\r\n\r\nMario", "updateAuthor": { "name": "banzaimobile", "key": "banzaimobile", "displayName": "Banzai Mobile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-21T00:30:57.000+0000", "updated": "2011-10-21T00:30:57.000+0000" }, { "id": "170165", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks fixed by changes present in SDK 1.7.4.v20111021181815, iPod Touch 3rd gen (iOS 4.0.2), iPhone 4s (iOS 5.0), and Simulator 5.0.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-23T12:49:02.000+0000", "updated": "2011-10-23T12:49:02.000+0000" }, { "id": "172561", "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:20:39.000+0000", "updated": "2011-11-14T12:20:39.000+0000" }, { "id": "182581", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T10:26:15.000+0000", "updated": "2012-02-09T10:26:15.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }