{ "id": "126758", "key": "TIMOB-16498", "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": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15940", "description": "2014 Sprint 07 SDK", "name": "2014 Sprint 07 SDK", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "16096", "description": "2014 Sprint 09", "name": "2014 Sprint 09", "archived": true, "released": true, "releaseDate": "2014-05-08" }, { "id": "16097", "description": "2014 Sprint 09 SDK", "name": "2014 Sprint 09 SDK", "archived": true, "released": true, "releaseDate": "2014-05-08" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-11-17T14:31:25.000+0000", "created": "2014-02-24T13:06:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_tableview", "qe-testadded", "supportTeam" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-17T14:31:30.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": "h5. Problem Description \r\n\r\nUndesired tableView separatorColor is appearing in footerView . \r\n\r\nWhen I use footerView for TableViews it is working as expected in below Android 4.4 versions.\r\n\r\nBut from Above Android 4.4 version we are able to see a separator line which is not required.\r\n \r\n\r\nh5. Testing Environment:\r\nMAC OS X 10.8.5 \r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK: 3.2.1.GA\r\nTitanium CLI: 3.2.1\r\nAndroid SDK 2.3.3, 4.2.2 and 4.4.2\r\n\r\n\r\nh5. Test Code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'black',\r\n fullscreen : false,\r\n title : 'TableView Demo'\r\n});\r\n\r\nvar defaultFontSize = Ti.Platform.name === 'android' ? 16 : 14;\r\n\r\nvar tableData = [];\r\n\r\nfor (var i = 1; i <= 5; i++) {\r\n var row = Ti.UI.createTableViewRow({\r\n className : 'forumEvent', // used to improve table performance\r\n selectedBackgroundColor : 'white',\r\n rowIndex : i, // custom property, useful for determining the row during events\r\n height : 110,\r\n title : 'Test '+i\r\n });\r\n tableData.push(row);\r\n}\r\n\r\nvar container = Ti.UI.createView({\r\n height : 50,\r\n width : Ti.UI.FILL\r\n});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n backgroundColor : 'white',\r\n data : tableData,\r\n footerView : container,\r\n separatorColor : 'black'\r\n});\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n\r\n\r\n{code}\r\n\r\n\r\nThanks ", "attachment": [ { "id": "46145", "filename": "device-2014-02-24-181334.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2014-02-24T13:06:46.000+0000", "size": 18827, "mimeType": "image/png" }, { "id": "46687", "filename": "Screenshot_2014-03-17-13-44-48.png", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-03-17T13:47:33.000+0000", "size": 56249, "mimeType": "image/png" }, { "id": "46149", "filename": "Untitled.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2014-02-24T13:51:12.000+0000", "size": 35606, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Undesired tableView separatorColor is appearing in footerView", "creator": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "MAC OS X 10.8.5 \r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK: 3.2.1.GA\r\nTitanium CLI: 3.2.1\r\nAndroid SDK 2.3.3, 4.2.2 and 4.4.2", "closedSprints": [ { "id": 50, "state": "closed", "name": "2014 Sprint 09 Tooling", "startDate": "2014-04-28T15:43:24.381Z", "endDate": "2014-05-10T03:44:00.000Z", "completeDate": "2014-05-12T13:36:16.254Z", "originBoardId": 113 }, { "id": 1210, "state": "closed", "name": "2020 Sprint 23", "startDate": "2020-11-09T17:49:00.000Z", "endDate": "2020-11-20T17:49:00.000Z", "completeDate": "2020-11-20T17:46:00.641Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "296514", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the code above with 4.4 Nexus. Works fine for me. Can't reproduce it.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-11T00:28:59.000+0000", "updated": "2014-03-11T00:28:59.000+0000" }, { "id": "299249", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5557\n\nAdditional test case for ListView:\n{code}\nvar win = Ti.UI.createWindow({ title: 'ListView Tests' });\n\nvar header = Ti.UI.createView({\n height: 50,\n width: Ti.UI.FILL\n});\nvar container = Ti.UI.createView({\n height : 50,\n width : Ti.UI.FILL\n});\n\nvar listView = Ti.UI.createListView({ footerView: container, headerView: header, separatorColor : 'black', backgroundColor: 'white'});\n\nvar section = Ti.UI.createListSection();\nsection.setItems([\n\t\t{ properties: { title: 'Basic', itemId: 'basic', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Set Items', itemId: 'setItems', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Append Items', itemId: 'appendItems', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Insert Items', itemId: 'insertItems', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Replace Items', itemId: 'replaceItems', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Delete Items', itemId: 'deleteItems', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Get Item', itemId: 'getItem', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n\t\t{ properties: { title: 'Scroll To Item', itemId: 'scrollToItem', accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE} },\n]);\nlistView.appendSection(section);\nwin.add(listView);\nwin.open();\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-29T01:37:12.000+0000", "updated": "2014-03-29T01:37:12.000+0000" }, { "id": "299340", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Merged", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-03-31T17:40:37.000+0000", "updated": "2014-03-31T17:40:37.000+0000" }, { "id": "301398", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am able to reproduce the issue with the code provided in the description. Tested on Nexus 5 (4.4.2) and Nexus 7 (4.3) with below environment:\r\n\r\nAppc Studio: 3.2.3.201404162038\r\nSDK build: 3.2.3.v20140417162517 and 3.3.0.v20140417173316\r\nacs: 1.0.14\r\nnpm: 1.3.2\r\nalloy:1.3.1\r\nCLI: titanium@3.2.3-beta\r\ntitanium-code-processor:1.1.1-beta1\r\nXcode: 5.1.1\r\nOsx: Mavericks(10.9.2)\r\nDevice: Nexus 7 (4.3) and Nexus 5 (4.4.2)\r\n\r\nWhen I tested on Nexus 7(4.3) version (by reducing the size of row to 3) it is working as expected and no separatorColor appears. But on Nexus 5(4.4.2) version I am able to see a separator line. Hence reopening the issue.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-18T10:32:08.000+0000", "updated": "2014-04-18T10:32:08.000+0000" }, { "id": "303243", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tested against latest master with Nexus 5 (4.4) and it works fine for me for both test cases (even when I reduce the number of rows to 3 in the first test case)", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-01T22:00:35.000+0000", "updated": "2014-05-01T22:00:35.000+0000" }, { "id": "303549", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We do not see any undesired tableview separator color in footerview.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.2.3.201404181520\r\nTi SDK : 3.3.0.v20140502133323\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.1\t\r\nCLI - 3.2.3\r\nSamsung Galaxy S4 running android 4.2.2\r\nNexus 5 - android 4.4.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T20:42:03.000+0000", "updated": "2014-05-05T20:42:03.000+0000" }, { "id": "457501", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-12T14:47:17.000+0000", "updated": "2020-11-12T16:13:11.000+0000" }, { "id": "457515", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~smohammed] Due to the {{title}} property now utilizing the app themes primary text color. Depending on the background; the test cases may need their {{color}} property setting to a contrasting color.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-14T01:40:05.000+0000", "updated": "2020-11-14T01:40:05.000+0000" }, { "id": "457619", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket it as this is an unrelated issue, will be fixed in: https://github.com/appcelerator/titanium_mobile/pull/12029", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-17T14:31:07.000+0000", "updated": "2020-11-17T14:31:07.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }