{ "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\n

var tabGroup = Titanium.UI.createTabGroup();

\r\n

var win1 = Titanium.UI.createWindow({

\r\n
\r\ntitle:'Tab 1',\r\nbackgroundColor:'#fff'\r\n
\r\n

}); var tab1 = Titanium.UI.createTab({

\r\n
\r\nicon:'KS_nav_views.png',\r\ntitle:'Tab 1',\r\nwindow:win1\r\n
\r\n

});

\r\n

var button1 = Ti.UI.createButton({

\r\n
\r\ntitle: 'Change button 1',\r\nleft: 10,\r\ntop: 100,\r\nwidth: 200,\r\nheight: 50\r\n
\r\n

});

\r\n

button1.addEventListener('click', function(e){

\r\n
\r\nTi.UI.currentTab.title = 'New Title 2';\r\n
\r\n

});

\r\n

win1.add(button1);
\r\ntabGroup.addTab(tab1);

\r\n

tabGroup.open();

{html}", "attachment": [], "flagged": false, "summary": "Android: Cannot change Title of Tab bar", "creator": { "name": "judy", "key": "judy", "displayName": "Judy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "judy", "key": "judy", "displayName": "Judy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129414", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Judy

\n

There is not enough information here. Please read \nSubmitting Bugs and supply the omitted information, otherwise\nit may be marked invalid.

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:35.000+0000", "updated": "2011-04-15T03:29:35.000+0000" }, { "id": "129415", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Please also edit your ticket and use the markdown syntax\nprovided, so it displays correctly.

\n

Thanks

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:35.000+0000", "updated": "2011-04-15T03:29:35.000+0000" }, { "id": "129416", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:35.000+0000", "updated": "2011-04-15T03:29:35.000+0000" }, { "id": "129417", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Probably related to other tab issues.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:29:36.000+0000", "updated": "2011-04-15T03:29:36.000+0000" }, { "id": "216490", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 and iOS simulator using TiSDK 2.2.0v20120824175712, issue still valid. \r\n\r\n{code}\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win1 = Titanium.UI.createWindow({\r\n title : 'Tab 1',\r\n backgroundColor : '#fff'\r\n});\r\n\r\nvar tab1 = Titanium.UI.createTab({\r\n icon : 'KS_nav_views.png',\r\n title : 'Tab 1',\r\n window : win1\r\n});\r\n\r\nvar button1 = Ti.UI.createButton({\r\n title : 'Change button 1',\r\n left : 10,\r\n top : 100,\r\n width : 200,\r\n height : 50\r\n});\r\n\r\nbutton1.addEventListener('click', function(e)\r\n{\r\n tab1.title = 'New Title 2';\r\n});\r\n\r\nwin1.add(button1);\r\ntabGroup.addTab(tab1);\r\n\r\ntabGroup.open();\r\n{code}", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-28T11:22:47.000+0000", "updated": "2012-08-28T11:22:47.000+0000" }, { "id": "286883", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "The issue cannot reproduce with the release master 3.2.0\r\nTested with: \r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK version: 3.2.0\r\nTested on\r\nDevice: Samsung galaxy s duos Android version: 4.0.4", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-07T05:13:27.000+0000", "updated": "2014-01-07T05:13:27.000+0000" }, { "id": "416493", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce the issue using the following environment; \r\nPixel (7.1) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.8.1.201612050850 \r\nTi SDK 6.0.3 GA \r\nAppc NPM 4.2.8 \r\nAppc CLI 6.1.0 \r\nTi CLI 5.0.11 \r\nAlloy 1.9.5 \r\nArrow 1.10.1 \r\nXcode 8.2 (8C38) \r\nNode v4.6.0 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T17:13:06.000+0000", "updated": "2017-03-31T17:13:06.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }