{ "id": "98363", "key": "TIMOB-10239", "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": null, "resolutiondate": null, "created": "2012-07-30T15:08:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:50.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Description\r\nIf all the tabs in a tab group don't fit, a \"more\" tab appears with a table view containing a list the rest of the windows with it's tab icon in the left hand of the each row.\r\n\r\nh3. The problem\r\nIf you navigate through a window from the \"more\" tab at least two windows deep and come back by pressing the back button, an icon will be missing from that table view.\r\n\r\nh3. Sample code\r\n{code}\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\nfunction NewWindow(tab){\r\n var win = Ti.UI.createWindow({\r\n backgroundColor: '#ccc',\r\n title: tab.title\r\n });\r\n var btn = Ti.UI.createButton({\r\n title: 'open next',\r\n width: Ti.UI.SIZE,\r\n height: Ti.UI.SIZE\r\n });\r\n win.add(btn);\r\n tab.setWindow(win);\r\n\r\n btn.addEventListener('click', function(){\r\n tab.open(NewWindow(tab));\r\n });\r\n\r\n return win;\r\n}\r\nfor(var i = 0; i < 10; i++){\r\n var tab = Ti.UI.createTab({\r\n icon: 'KS_nav_ui.png',\r\n title: 'tab '+(i+1)\r\n });\r\n tab.setWindow(NewWindow(tab));\r\n tabGroup.addTab(tab);\r\n}\r\ntabGroup.open();\r\n{code}\r\nh3. To reproduce:\r\n1. Run that code in app.js\r\n2. Click on the \"more\" tab and open one of the windows\r\n3. Click on the button from the window\r\n4. Go back to the beginning with the back button\r\n5. That's it, an icon will be missing.\r\n\r\nh3. Note:\r\nIf you're two windows deep or more and go back with the back button, you'll see this behavior, but if you press the tab itself, it will go back and everything will be as it should. This bug only happens with the back button.", "attachment": [], "flagged": false, "summary": "iOS: icons in the tableview if the \"more\" tab disappear ", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.1.GA\r\niOS All SDK versions", "comment": { "comments": [ { "id": "210625", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A good example of a bad bug. This bug has no environment information whatsoever. Please provide the complete environment information and then reopen the bug.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-30T21:50:22.000+0000", "updated": "2012-07-30T21:50:22.000+0000" }, { "id": "216131", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Updated environment field", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-25T12:24:25.000+0000", "updated": "2012-08-25T12:24:25.000+0000" }, { "id": "250057", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue reproduces\n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T06:54:33.000+0000", "updated": "2013-05-03T06:54:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }