{ "id": "63418", "key": "TIMOB-2786", "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": "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": "2014-01-07T05:13:27.000+0000", "created": "2011-04-15T03:29:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "18902", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "95103", "key": "TIMOB-9962", "fields": { "summary": "Android: Tab icon property change not updating icon image shown in tab", "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 } } } }, { "id": "18904", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97411", "key": "TIDOC-704", "fields": { "summary": "Android: Tab title & icon not updatable", "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": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T17:13:06.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
Changing the title of the currentTab does not work in iOS or\r\nAndroid. Here is simple example code.
\r\nvar tabGroup = Titanium.UI.createTabGroup();
\r\nvar win1 = Titanium.UI.createWindow({
\r\ntitle:'Tab 1',\r\nbackgroundColor:'#fff'
\r\n
\r\n}); var tab1 = Titanium.UI.createTab({
\r\nicon:'KS_nav_views.png',\r\ntitle:'Tab 1',\r\nwindow:win1
\r\n
\r\n});
\r\nvar button1 = Ti.UI.createButton({
\r\ntitle: 'Change button 1',\r\nleft: 10,\r\ntop: 100,\r\nwidth: 200,\r\nheight: 50
\r\n
\r\n});
\r\nbutton1.addEventListener('click', function(e){
\r\nTi.UI.currentTab.title = 'New Title 2';
\r\n
\r\n});
\r\nwin1.add(button1);
\r\ntabGroup.addTab(tab1);
tabGroup.open();
Judy
\nThere is not enough information here. Please read \nSubmitting Bugs and supply the omitted information, otherwise\nit may be marked invalid.
Please also edit your ticket and use the markdown syntax\nprovided, so it displays correctly.
\nThanks
I suspect this is a duplication of \n#2361, which is another reason why the correct procedure\n(particularly discussing the issue with the community first) should\nbe followed before raising a ticket
Probably related to other tab issues.