{ "id": "175508", "key": "TIMOB-28136", "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": "2020-09-07T20:12:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "58799", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174908", "key": "TIMOB-27847", "fields": { "summary": "iOS: Implement Tab tintColor and activeTintColor", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-10-07T10:11:35.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "tintColor in tabGroup as it is described in the documentation, as you can see in the image below, tintColor is set to ‘#FFFFFF’. It only works properly on version 9.0.3.GA.\r\n\r\nPlease advice. Thank you in advance.", "attachment": [ { "id": "67528", "filename": "Screenshot 2020-09-07 at 3.53.17 PM.png", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-07T20:11:44.000+0000", "size": 20446, "mimeType": "image/png" }, { "id": "67550", "filename": "Screenshot 2020-09-14 at 10.26.13 PM.png", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-14T19:32:45.000+0000", "size": 16252, "mimeType": "image/png" }, { "id": "67549", "filename": "Screenshot 2020-09-14 at 10.28.37 PM.png", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-14T19:32:45.000+0000", "size": 15167, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: tintColor in tabGroup does not work", "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": null, "comment": { "comments": [ { "id": "456807", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi [~andreas.pingas]. Could you provide a complete code sample that demonstrates this problem?", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-09-10T11:36:46.000+0000", "updated": "2020-09-10T11:36:46.000+0000" }, { "id": "456888", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code:java}\r\n\tvar window1 = Ti.UI.createWindow({\r\n\t\ttitle:'Window 1'\r\n\t});\r\n\t\r\n\tvar window2= Ti.UI.createWindow({\r\n\t\ttitle:'Window 2'\r\n\t});\r\n\t\t\r\n\tvar tab1 = Ti.UI.createTab({\r\n\t\ttitle:'Tab 1',\r\n\t\ticon:'/images/ic_action_desktop_windows.png',\r\n\t\twindow:window1\r\n\t});\r\n\t\r\n\tvar tab2 = Ti.UI.createTab({\r\n\t\ttitle:'Tab 2',\r\n\t\ticon:'/images/ic_action_today.png',\r\n\t\twindow:window2\r\n\t});\r\n\t\t\t\r\n\tvar tabGroup = Ti.UI.createTabGroup({\r\n\t\ttabs:[tab1, tab2],\r\n\t\tbackgroundColor:'#FFFFFF',\r\n\t\ttabsBackgroundColor:'#000000',\r\n\t\tbarColor:'#000000',\r\n\t\tnavTintColor:'#FFFFFF',\r\n\t \ttintColor:'#FFFFFF',\r\n\t \tactiveTintColor:'#FF0000',\t\r\n\t\ttitleColor:'#FFFFFF',\r\n\t\tactiveTitleColor:'#FF0000',\r\n\t\tstyle:Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION\r\n\t});\r\n\t\r\n\ttabGroup.open();\r\n{code}\r\n\r\nTEST:\r\n1) 9.0.3.GA\r\n2) 9.1.0.GA", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-14T19:30:07.000+0000", "updated": "2020-09-14T19:34:36.000+0000" }, { "id": "456892", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "I can confirm this codesample doesn't work on iOS with 9.1.0.GA but does on Android. However, I couldn't get this to work on 9.0.3.GA either. ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-09-15T13:31:55.000+0000", "updated": "2020-09-15T13:31:55.000+0000" }, { "id": "456939", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~andreas.pingas] \r\n1. Is it happening on all iOS versions or any particular. I guess iOS < 13.0. And are you sure it is working on sdk 9.0.3.GA?\r\n2. Are you talking about tintColor or activeTintColor?\r\n3. Can you update screenshots with name e.g correct_image and incorrect_image? It'll help in understand the issue, what you are talking about.\r\nThanks! ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-18T00:56:03.000+0000", "updated": "2020-09-18T00:56:03.000+0000" }, { "id": "459078", "author": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "body": "How is this not fixed from a year ago? Using TabGroups with iOS is a complete nightmare -- basically native implementation and just doesn't work -- I have to use a combination of properties that don't follow the documentation just to get the icon and active text selected, then can't change the inactive text color.\r\n\r\nThis allows me to have a red icon and red active text, black icon but default text color -- I can't change it but this doesn't follow any conventions. If I don't set tab tintcolor to black it comes up red for inactive tab icons -- it's ridiculous we can't use a native tabgroup properly!\r\n\r\n{code:java}\r\n\"TabGroup\": {\r\n\tactiveTintColor: \"#C00014\",\r\n\ttintColor: \"#C00014\",\r\n\ttabsBackgroundColor: \"#fff\",\t\r\n}\r\n\"Tab\": {\t\r\n\ttintColor: \"#000\",\t\r\n}\r\n{code}\r\n\r\n", "updateAuthor": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "created": "2021-10-07T10:11:35.000+0000", "updated": "2021-10-07T10:11:35.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }