{ "id": "174798", "key": "TIMOB-27796", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": null, "resolutiondate": null, "created": "2020-03-10T14:07:28.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" }, { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "issuelinks": [ { "id": "58253", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "158427", "key": "TIMOB-22477", "fields": { "summary": "Ti.UI.TableView Test Suite: Titanium.UI.TableViewSection TIMOB-11352", "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 } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-20T00:24:22.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": "When running the test case below the TableViewSection glitches out and stops scrolling down. (Last worked 8.0.1.GA)\r\n\r\n*Test Steps:*\r\n# Create a new Titanium application \r\n# Add the test case below in to the {{app.js}}\r\n# Run the application\r\n\r\n*Test Case:* \r\n{code:java}\r\nvar RED = 'Red',\r\n GREEN = 'Green',\r\n PURPLE = 'Purple';\r\n \r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff',\r\n layout: 'vertical'\r\n});\r\n \r\nvar table = Ti.UI.createTableView({\r\n \r\n});\r\n \r\nvar tableSection1 = createSectionForGroup(RED);\r\nvar tableSection2 = createSectionForGroup(GREEN);\r\nvar tableSection3 = createSectionForGroup(PURPLE);\r\nvar tableSection4 = createSectionForGroup(PURPLE);\r\nvar tableSection5 = createSectionForGroup(RED);\r\nvar tableSection6 = createSectionForGroup(GREEN);\r\nvar tableSection7 = createSectionForGroup(PURPLE);\r\nvar tableSection8 = createSectionForGroup(PURPLE);\r\nvar tableSection9 = createSectionForGroup(RED);\r\nvar tableSection10 = createSectionForGroup(GREEN);\r\nvar tableSection11 = createSectionForGroup(PURPLE);\r\nvar tableSection12 = createSectionForGroup(PURPLE);\r\n \r\nvar tableRow = Ti.UI.createTableViewRow({\r\n title:'Row'\r\n});\r\n \r\nvar rows = 7;\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection1.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection2.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection3.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection4.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection5.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection6.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection7.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection8.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection9.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection10.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection11.add(tableRow);\r\n}\r\n \r\nfor(i=0; i<=rows; i++) {\r\n tableSection12.add(tableRow);\r\n}\r\n \r\ntable.setData([tableSection1, tableSection2, tableSection3, tableSection4, tableSection5, tableSection6, tableSection7, tableSection8,\r\n\ttableSection9, tableSection10, tableSection11, tableSection12]);\r\nwin1.add(table);\r\n \r\n// open tab group\r\nwin1.open();\r\n \r\n \r\nfunction createSectionForGroup(group) {\r\n var headerContainerOpts, headerBottomBorderOpts, headerViewOpts;\r\n \r\n headerViewOpts = {\r\n color: 'white',\r\n height: Ti.UI.SIZE,\r\n font: { fontSize: '17sp', fontWeight: 'bold' },\r\n left: 11,\r\n text: group\r\n };\r\n \r\n if (group === RED) {\r\n headerContainerOpts = {\r\n backgroundGradient: {\r\n endPoint: { x: 0, y: '100%' },\r\n startPoint: { x: 0, y: 0 },\r\n type: 'linear',\r\n colors: ['#C53019', '#B32D14']\r\n },\r\n height: 32\r\n };\r\n }\r\n if (group === GREEN) {\r\n headerContainerOpts = {\r\n backgroundGradient: {\r\n endPoint: { x: 0, y: '100%' },\r\n startPoint: { x: 0, y: 0 },\r\n type: 'linear',\r\n colors: ['#2B781E', '#195010']\r\n },\r\n height: 32\r\n };\r\n }\r\n if (group === PURPLE) {\r\n headerContainerOpts = {\r\n backgroundGradient: {\r\n endPoint: { x: 0, y: '100%' },\r\n startPoint: { x: 0, y: 0 },\r\n type: 'linear',\r\n colors: ['#873DA6', '#612A7D']\r\n },\r\n height: 32\r\n };\r\n }\r\n \r\n var container = Ti.UI.createView(headerContainerOpts);\r\n container.add(Ti.UI.createLabel(headerViewOpts));\r\n return Ti.UI.createTableViewSection({\r\n headerView: container,\r\n title: group\r\n });\r\n}\r\n{code}\r\n\r\n*Expected Result:*\r\nTableViewSection should scroll down across all section.\r\n\r\n*Actual Result:*\r\nTableViewSection does not scroll past the {{red}} heading.\r\n\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: TableViewSection does not scroll after a certain point", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.1 beta\r\nXcode: 11.3\r\nJava Version: 1.8.0_131\r\nAndroid NDK: 18.1.5063045\r\nNode.js: 10.16.3\r\n\"NPM\":\"5.0.0-1\",\"CLI\":\"8.0.0-master.10\"\r\nPixel xl (7.1.1) Emulator\r\nSDK Version: 9.0.0.v20200207114311\r\nSDK Version: 8.3.1.GA", "closedSprints": [ { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 }, { "id": 1194, "state": "closed", "name": "2020 Sprint 9", "startDate": "2020-04-24T17:09:51.572Z", "endDate": "2020-05-08T17:09:00.000Z", "completeDate": "2020-05-08T15:40:07.869Z", "originBoardId": 114 }, { "id": 1195, "state": "closed", "name": "2020 Sprint 10", "startDate": "2020-05-08T16:37:58.282Z", "endDate": "2020-05-22T16:37:00.000Z", "completeDate": "2020-05-21T15:26:11.089Z", "originBoardId": 114 }, { "id": 1196, "state": "closed", "name": "2020 Sprint 11", "startDate": "2020-05-26T15:56:00.000Z", "endDate": "2020-06-05T15:56:00.000Z", "completeDate": "2020-06-08T21:05:50.356Z", "originBoardId": 114 }, { "id": 1198, "state": "closed", "name": "2020 Sprint 12", "startDate": "2020-06-08T21:06:41.849Z", "endDate": "2020-06-19T21:06:00.000Z", "completeDate": "2020-06-19T15:54:38.493Z", "originBoardId": 114 }, { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 }, { "id": 1201, "state": "closed", "name": "2020 Sprint 14", "startDate": "2020-07-06T15:40:00.000Z", "endDate": "2020-07-17T15:40:00.000Z", "completeDate": "2020-07-20T22:16:28.367Z", "originBoardId": 114 }, { "id": 1202, "state": "closed", "name": "2020 Sprint 15", "startDate": "2020-07-20T22:16:05.601Z", "endDate": "2020-07-31T22:16:00.000Z", "completeDate": "2020-08-03T20:27:12.585Z", "originBoardId": 114 }, { "id": 1203, "state": "closed", "name": "2020 Sprint 16", "startDate": "2020-08-03T20:57:55.114Z", "endDate": "2020-08-14T20:57:00.000Z", "completeDate": "2020-08-14T15:19:51.647Z", "originBoardId": 114 }, { "id": 1204, "state": "closed", "name": "2020 Sprint 17", "startDate": "2020-08-17T15:48:00.000Z", "endDate": "2020-08-28T15:48:00.000Z", "completeDate": "2020-08-31T15:36:28.040Z", "originBoardId": 114 }, { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 }, { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 }, { "id": 1207, "state": "closed", "name": "2020 Sprint 20", "startDate": "2020-09-28T15:30:47.481Z", "endDate": "2020-10-09T15:30:00.000Z", "completeDate": "2020-10-09T16:33:43.453Z", "originBoardId": 114 }, { "id": 1208, "state": "closed", "name": "2020 Sprint 21", "startDate": "2020-10-12T16:34:00.000Z", "endDate": "2020-10-23T16:34:00.000Z", "completeDate": "2020-10-23T02:32:43.674Z", "originBoardId": 114 }, { "id": 1209, "state": "closed", "name": "2020 Sprint 22", "startDate": "2020-10-27T02:33:00.000Z", "endDate": "2020-11-07T02:33:00.000Z", "completeDate": "2020-11-06T17:45:42.610Z", "originBoardId": 114 }, { "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": "454865", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/11556", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-26T00:31:00.000+0000", "updated": "2020-03-26T00:31:00.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }