{ "id": "79777", "key": "TIMOB-5157", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-27T18:00:30.000+0000", "created": "2011-08-29T11:50:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "ipad", "navbar", "tbs-1.9.0" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-27T18:00:30.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": "Steps to recreate:\r\n\r\nDrop the following in to an app.js, and click the button. A modal window will pop up, then close itself after one second. Watch the nav bar, which will have KS_nav_ui.png set as its barImage (make sure this image is available).\r\n\r\nRepeat this a couple of times and then change the orientation of the iPad.\r\n\r\nActual Result:\r\nbarImage still would have the same position and size as it was in previos orientation.\r\n\r\nExpected Result:\r\nbarImage should change its position and size according to the new orientation.\r\n\r\nNote: this would happen only for the first time. After the first time, the image changes according to the new orientation.\r\n\r\n{code}\r\nvar windowProperties = {\r\n backgroundColor: '#fff',\r\n barImage: 'KS_nav_ui.png'\r\n};\r\nvar tabGroup = Ti.UI.createTabGroup();\r\nvar win = Ti.UI.createWindow(windowProperties);\r\nvar openModal = Ti.UI.createButton({\r\n title: 'Watch the barImage, and click me',\r\n width: 250, height: 40, top: 20\r\n});\r\nopenModal.addEventListener('click', function() {\r\n var modal = Ti.UI.createWindow(windowProperties);\r\n modal.open({ modal: true });\r\n setTimeout(function() {\r\n modal.close();\r\n }, 1000);\r\n});\r\nwin.add(openModal);\r\ntabGroup.addTab(Ti.UI.createTab({\r\n icon: 'KS_nav_views.png',\r\n window: win\r\n}));\r\ntabGroup.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iPad: barImage does not change when orientation changes", "creator": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX Lion\r\nTiMob: 1.8.0.v20110819142548 and \r\nTiMob: 1.7.2\r\nTiStud: 1.0.4.201108101535\r\n\r\nDevices tested On:\r\niPad Simulator\r\niPad 2 version 4.3.5\r\n ", "comment": { "comments": [ { "id": "424979", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-27T18:00:30.000+0000", "updated": "2017-07-27T18:00:30.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }