{ "id": "103155", "key": "TIMOB-11393", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-03-11T12:41:18.000+0000", "created": "2012-10-11T20:19:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_tabgroup", "qe-testadded", "tabgroup", "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "issuelinks": [ { "id": "57152", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "158337", "key": "TIMOB-22387", "fields": { "summary": "Ti.UI.TabGroup Test Suite: Titanium.UI.TabGroup Acceptance TIMOB-11393 Android Only", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "56882", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172171", "key": "TIMOB-26354", "fields": { "summary": "Android: Refactor TabGroup and introduce new style", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "22025", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97731", "key": "TIMOB-10065", "fields": { "summary": "Android: TabGroup - Tab bar does not animate on Android", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21928", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103079", "key": "TIMOB-11365", "fields": { "summary": "Android: TabGroup - \"Toggle orientationModes\" doesn't work from landscape", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2019-03-11T12:41:27.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": "Unable to set the background color of a tab group.\r\nThis appears to be caused by having no \"native view\" setup\r\nto handle the view property changes in TiUIView.\r\n\r\nh4. Test Case\r\n{code:JavaScript}\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n backgroundColor: 'blue'\r\n});\r\n\r\ntabGroup.open();\r\n{code}\r\n\r\nPass: Background color of the tab group is blue.\r\nFail: Background color isn't blue, but black.", "attachment": [ { "id": "65690", "filename": "Screenshot 2018-10-08 at 14.52.15.png", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-08T14:19:37.000+0000", "size": 127201, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TabGroup.backgroundColor doesn't change background.", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "223758", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed via PR...\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/3245\r\n\r\n...for TIMOB-10065.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T10:47:53.000+0000", "updated": "2012-10-16T10:47:53.000+0000" }, { "id": "223878", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Back ported by [PR #3251|https://github.com/appcelerator/titanium_mobile/pull/3251] into 3_0_X branch.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T21:37:19.000+0000", "updated": "2012-10-16T21:37:19.000+0000" }, { "id": "223912", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Confirmed that [PR #3251|https://github.com/appcelerator/titanium_mobile/pull/3251] fixes as well.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T23:14:52.000+0000", "updated": "2012-10-16T23:14:52.000+0000" }, { "id": "231059", "author": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "body": "This works in 2.1.4-GA. However, when I switch to 3.0.0-beta it defaults to entire black tab color settings. \r\n\r\n2.1.4-GA - http://imgur.com/duJKj\r\n3.0.0-20121207 - http://imgur.com/TNlPJ", "updateAuthor": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-12T19:08:20.000+0000", "updated": "2012-12-12T19:08:20.000+0000" }, { "id": "440613", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue can still be seen in SDK version {{7.3.0.v20180807095741}}. {{TabGroup.backgroundColor}} works on iOS but not on Android. \r\n\r\n*Test Case*\r\n{code:java}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue'\r\n});\r\nwin1.add(Ti.UI.createLabel({text: 'I am a blue window.'}));\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red'\r\n});\r\nwin2.add(Ti.UI.createLabel({text: 'I am a red window.'}));\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n window: win1,\r\n title: 'Blue'\r\n}),\r\ntab2 = Ti.UI.createTab({\r\n window: win2,\r\n title: 'Red'\r\n}),\r\ntabGroup = Ti.UI.createTabGroup({\r\n tabs: [tab1, tab2]\r\n \r\n});\r\ntabGroup.backgroundColor = 'red';\r\ntabGroup.open();{code}\r\n\r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.0.0.201712081732\r\nAPPC CLI: 7.0.4\r\nNexus 6p Emulator (7.1)\r\nIphone 6 Simul\r\nOperating System Name: Mac OS High Sierra\r\nOperating System Version: 10.13\r\nNode.js Version: 8.9.1\r\nXcode 9.2\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-09T14:02:27.000+0000", "updated": "2018-08-09T14:02:27.000+0000" }, { "id": "440614", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Although looking at the Appc docs https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup-property-tabsBackgroundColor {{tabsBackgroundColor}} can be used and can confirm works on both iOS and Android.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-09T14:25:56.000+0000", "updated": "2018-08-09T14:25:56.000+0000" }, { "id": "442405", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using the following code we can see that setting {{tabsBackgroundColor}} to blue only shows on iOS.\r\n{code:java}\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n tabsBackgroundColor: 'blue'\r\n});\r\n \r\ntabGroup.open();\r\n{code}\r\n !Screenshot 2018-10-08 at 14.52.15.png|thumbnail! ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-08T14:19:53.000+0000", "updated": "2018-10-08T14:19:53.000+0000" }, { "id": "446642", "author": { "name": "amdolan", "key": "amdolan", "displayName": "amdolan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have no issues with the following config:\r\n\r\ntiapp.xml: \r\n{code}8.0.0.v20190307063026{code}\r\n\r\napp.tss:\r\n{code}\r\n'TabGroup[platform=android]': {\r\n\tstyle: Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,\r\n\ttabsBackgroundColor: \"blue\"\r\n}\r\n{code}\r\n\r\nSorry I don't know how to add a screenshot but the background is blue.", "updateAuthor": { "name": "amdolan", "key": "amdolan", "displayName": "amdolan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-08T16:32:56.000+0000", "updated": "2019-03-08T16:33:13.000+0000" }, { "id": "446712", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Using {{8.0.0.v20190308114556}} and {{8.1.0.v20190308144226}} I am able to set {{tabsBackgroundColor}} to blue on Android. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T12:39:26.000+0000", "updated": "2019-03-11T12:39:26.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }