{ "id": "76147", "key": "TIMOB-4355", "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": "11361", "description": "Mobile 1.8.0 M08", "name": "Sprint 2011-29", "archived": true, "released": true, "releaseDate": "2011-07-25" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T15:44:40.000+0000", "created": "2011-06-09T12:53:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "11126", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "62956", "key": "TIMOB-2324", "fields": { "summary": "iOS: barImage on iPhone disappears when showing modal window", "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": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-13T09:11:23.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": "h1. Problem\r\nIf you specify a barImage on a window in a nav group, that image never goes away. Subsequent images will stack. Nav bar contents like titles or buttons will show up behind them.\r\n\r\nh2. Sample Code\r\nDrop the following in an app.js. It only needs \"appicon.png\" in your resources directory. To reproduce:\r\n1. Look at the nav bar (it is OK)\r\n2. Touch \"Open Child 2\"\r\n3. Touch \"Child 1\" (it's a back button in the top left)\r\n4. Look at the nav bar (the bar image from the child is there)\r\n5. Rotate the device 90 degrees\r\n6. Touch \"Open Child 2\"\r\n7. Look at the nav bar (the portrait bar image is there, plus a new landscape bar image, and the title is hidden)\r\n{code:title=app.js}\r\nvar parent = Ti.UI.createWindow({\r\n navBarHidden: true, modal: true\r\n});\r\n\r\nvar child1 = Ti.UI.createWindow({\r\n title: 'Child 1'\r\n});\r\nchild1.setRightNavButton(Ti.UI.createButton({\r\n systemButton: Ti.UI.iPhone.SystemButton.DONE\r\n}));\r\n\r\nvar nav = Ti.UI.iPhone.createNavigationGroup({\r\n window: child1\r\n});\r\nparent.add(nav);\r\n\r\nvar openNewChildButton = Ti.UI.createButton({ title: 'Open Child 2' });\r\nopenNewChildButton.addEventListener('click', function() {\r\n var child2 = Ti.UI.createWindow({ title: 'Child 2', barImage: 'appicon.png', barColor: '#000' });\r\n nav.open(child2);\r\n});\r\nchild1.add(openNewChildButton);\r\n\r\nparent.open();\r\n{code}\r\n\r\nh2. Possibly Related To\r\n[TIMOB-2834]\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-115938", "attachment": [], "flagged": false, "summary": "iOS: barImages Stack (and Never Go Away)", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK version: 1.7.0 (06/06/11 15:46 64155ee...)\r\nBROKEN in iPhone Simulator 4.3", "comment": { "comments": [ { "id": "160000", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When testing, test for a regression of TIMOB 3770. If there's other tests that involve blurs on close, those might be good as well.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-19T17:56:10.000+0000", "updated": "2011-07-19T17:56:10.000+0000" }, { "id": "160202", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request 262 does provide a fix, but the navbar image is present after the animation and redraw of the original window. If possible, it would be best to remove the image prior to animating and redrawing the first window.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-21T11:11:25.000+0000", "updated": "2011-07-21T11:11:25.000+0000" }, { "id": "160560", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm going to have to go with 'intentional design'. The behavior of not removing the graphic until the window is fully closed is to avoid the tab graphics flickering if both windows happen to have the same graphic.\r\n\r\nThe full and utterly correct solution requires more work into NavGroup and Tab, and should be tabled for later.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-25T18:58:11.000+0000", "updated": "2011-07-25T18:58:11.000+0000" }, { "id": "164336", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested On: \nMac OSX Lion\nTiMob: 1.8.0v20110819142548\nTiStud: 1.0.4.201108101535\n\nDevices:\niPhone4 version 4.2.10\niPad2 version 4.3.5\niPod 3", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T10:25:59.000+0000", "updated": "2011-08-29T10:25:59.000+0000" }, { "id": "190868", "author": { "name": "clifton", "key": "clifton", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue persists if you have a 3rd window (and presumably more windows after that).\r\n\r\nParent - barImage and custom nav buttons work\r\nChild - barImage and custom nav buttons work\r\nGrandchild - barImage covers nav buttons\r\n\r\nSimply add an additional window to the sample code on this ticket to reproduce the issue.", "updateAuthor": { "name": "clifton", "key": "clifton", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T09:07:23.000+0000", "updated": "2012-04-13T09:07:23.000+0000" }, { "id": "190869", "author": { "name": "clifton", "key": "clifton", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Oh, and I'm using Titanium Mobile 1.8.2", "updateAuthor": { "name": "clifton", "key": "clifton", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-13T09:11:23.000+0000", "updated": "2012-04-13T09:11:23.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }