{ "id": "173052", "key": "TIMOB-26889", "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": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-04-29T21:34:26.000+0000", "created": "2019-02-25T12:34:30.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "TabGroup", "android", "engSchedule", "regression", "title" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2019-04-29T21:34:29.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": "At android devices when a Window has its own title in a tabGroup the title never appears.\r\nIn order for the title to appear the focus has to be lost from tabGroup and return.\r\nIf that does not happen, the title appears to be the name of the app or the title of tabGroup if that is set.\r\n\r\n{code:java}\r\nvar window1 = Titanium.UI.createWindow({\r\n\ttitle:'Tab 1'\r\n});\r\n\r\nvar window2 = Titanium.UI.createWindow({\r\n\ttitle:'Tab 2'\r\n});\r\n\r\nvar window3 = Titanium.UI.createWindow({\r\n\ttitle:'Tab 3'\r\n});\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle:'Tab 1',\r\n\twindow:window1\r\n});\r\n\r\nvar tab2 = Ti.UI.createTab({\r\n\ttitle:'Tab 2',\r\n\twindow:window2\r\n});\r\n\r\nvar tab3 = Ti.UI.createTab({\r\n\ttitle:'Tab 3',\r\n\twindow:window3\r\n});\r\n\r\ntab1.addEventListener('selected', function() {\r\n\ttabGroup.title = 'Tab 1';\r\n});\r\n\r\ntab2.addEventListener('selected', function() {\r\n\ttabGroup.title = 'Tab 2';\r\n});\r\n\r\ntab3.addEventListener('selected', function() {\r\n\ttabGroup.title = 'Tab 3';\r\n});\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup({\r\n\ttabs:[tab1, tab2, tab3],\r\n\tswipeable:true,\r\n\texitOnClose:false,\r\n\tstyle:Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,\r\n\tshiftMode:false\r\n});\r\n\r\ntabGroup.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Cannot dynamically change TabGroup \"title\" property as of 8.0.0", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 8.0.0", "closedSprints": [ { "id": 1129, "state": "closed", "name": "2019 Sprint 10", "startDate": "2019-04-28T22:06:00.000Z", "endDate": "2019-05-17T22:06:00.000Z", "completeDate": "2019-05-20T16:48:42.522Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446641", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "I was able to reproduce it. It is caused by the new way the TabGroup is implemented. It now has no direct connection with the ActionBar. A workaround for this would be to manually set the title when switching tabs. ", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2019-03-08T16:26:03.000+0000", "updated": "2019-03-08T16:26:03.000+0000" }, { "id": "446834", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10778\r\nPR (8_0_X): https://github.com/appcelerator/titanium_mobile/pull/10779", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2019-03-14T15:47:03.000+0000", "updated": "2019-03-14T15:53:14.000+0000" }, { "id": "447083", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins builds.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-22T15:53:13.000+0000", "updated": "2019-03-22T15:53:13.000+0000" }, { "id": "447148", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket.* Fix verified in SDK version {{8.0.1.v20190325125116}}} and SDK Version {{8.1.0.v20190325115012}}\r\n\r\nTest and other information can be found at: \r\nPR: https://github.com/appcelerator/titanium_mobile/pull/10778\r\nPR (8_0_X): https://github.com/appcelerator/titanium_mobile/pull/10779", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-26T10:23:39.000+0000", "updated": "2019-03-26T10:23:39.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }