{ "id": "173696", "key": "TIMOB-27117", "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": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-06-13T10:20:42.000+0000", "created": "2019-05-31T18:17:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TabGroup", "android", "background", "engSchedule", "regression" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-06-13T10:20:43.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": "*Summary:*\r\nAs of Titanium 8.0.0, the {{TabGroup}} tab bar's background color is transparent on Android 4.4. On Android 5.0 and higher, it shows the correct background color (defaults to dark gray).\r\n\r\nThis issue happens with both the top and bottom tab bar styles.\r\n\r\n*Steps to reproduce:*\r\n# Set up a Classic Titanium app project with the below code.\r\n# Build with Titanium 8.0.0 and run it on Android 4.4\r\n# Observe the displayed tab bar.\r\n\r\n{code:javascript}\r\nfunction createTab(title) {\r\n\tvar window = Ti.UI.createWindow({ title: title });\r\n\twindow.add(Ti.UI.createLabel({ text: title + \" View\" }));\r\n\tvar tab = Ti.UI.createTab({\r\n\t\ttitle: title,\r\n\t\twindow: window,\r\n\t});\r\n\treturn tab;\r\n}\r\n\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n\ttabs: [createTab(\"Tab 1\"), createTab(\"Tab 2\"), createTab(\"Tab 3\")],\r\n//\tstyle: Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,\r\n});\r\ntabGroup.open();\r\n{code}\r\n\r\n*Result:*\r\nThe {{TabGroup}} tab bar's background color is transparent when it shouldn't be.\r\n !TabGroup-bad.png|thumbnail! \r\n\r\n*Expected Result:*\r\nThe tab bar should use the same background color as the {{ActionBar}}, which by default is dark gray (depending on the assigned theme).\r\n !TabGroup-good.png|thumbnail! \r\n\r\n*Work-around:*\r\nSet {{TabGroup}} property \"tabsBackgroundColor\" to the color you want.\r\nThe original dark gray color is {{\"#FF212121\"}}.", "attachment": [ { "id": "66657", "filename": "TabGroup-bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-31T18:17:24.000+0000", "size": 25646, "mimeType": "image/png" }, { "id": "66656", "filename": "TabGroup-good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-31T18:17:29.000+0000", "size": 25844, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TabGroup bar's background color is wrongly transparent on Android 4.4 as of 8.0.0", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "448759", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10928\r\nPR (8.0.x): https://github.com/appcelerator/titanium_mobile/pull/10930\r\nPR (8.1.x): https://github.com/appcelerator/titanium_mobile/pull/10935", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-01T00:44:39.000+0000", "updated": "2019-06-05T00:52:07.000+0000" }, { "id": "448988", "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-06-11T14:31:27.000+0000", "updated": "2019-06-11T14:31:27.000+0000" }, { "id": "449048", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket* fix verified in SDK Version: {{8.2.0.v20190612155743}}, {{8.1.0.v20190612160220}} and {{8.0.2.v20190612075012}}\r\n\r\nTest and other information can be found at: \r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/10928\r\nPR (8.0.x): https://github.com/appcelerator/titanium_mobile/pull/10930\r\nPR (8.1.x): https://github.com/appcelerator/titanium_mobile/pull/10935", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-13T10:20:31.000+0000", "updated": "2019-06-13T10:20:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }