{ "id": "169738", "key": "TIMOB-25258", "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": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-04T18:06:52.000+0000", "created": "2017-09-08T21:48:35.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "Android", "consider-6.2.3", "qe-6.2.0", "regression" ], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "56027", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "169959", "key": "AC-5257", "fields": { "summary": "Android: Setting width/height of listView to SIZE stopped working", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "56010", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "169926", "key": "TIMOB-25356", "fields": { "summary": "Android: Ti.UI.SIZE height not working for ListView (SDK 6.2.X)", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "56026", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "169880", "key": "TIMOB-25339", "fields": { "summary": "Android : SDK 6.2.2 has an issue with the resizing of table views (Ti.UI.SIZE)", "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": "56094", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "170134", "key": "TIMOB-25444", "fields": { "summary": "Titanium.UI.SIZE doesn't work for TableView 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": "56034", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "169990", "key": "TIMOB-25383", "fields": { "summary": "Android: Tableview height unexpected behaviour ", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-30T20:30:34.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": "*Description*\r\nOn Android, TableView borders should border around the rows with no gap as seen in the \"expected\" picture. There bottom border extends past the last row. This is a regression. SDK 6.1.2.GA works as expected. 6.2.0 fails.\r\n\r\n*Steps to reproduce*\r\n1. Create a Classic app and replace the code with the following below.\r\n\r\n*Expected results*\r\nSee the attached screen shot. The border should wrap around the rows with no empty space between the last row and the bottom border.\r\n\r\n*Actual results*\r\nThe bottom border is extended past the last row. See the screenshot \"actual\"\r\n\r\n*app.js*\r\n{code}\r\nvar window = Ti.UI.createWindow();\r\nvar rows = [];\r\nfor (var i = 0; i < 5; i++) {\r\n var row = Ti.UI.createTableViewRow({});\r\n row.add(Ti.UI.createView({\r\n width: 100,\r\n height: 50,\r\n left: 0,\r\n backgroundColor: 'blue',\r\n borderWidth: 1,\r\n borderColor: '#000'\r\n }));\r\n rows.push(row);\r\n};\r\nvar table = Ti.UI.createTableView({\r\n data: rows,\r\n borderWidth: 1,\r\n borderRadius: 30,\r\n borderColor: 'blue',\r\n rowHeight: 50,\r\n top: 100,\r\n left: 100,\r\n right: 100,\r\n height: Ti.UI.SIZE\r\n});\r\nwindow.add(table);\r\nwindow.open();\r\n{code}", "attachment": [ { "id": "63225", "filename": "actual_bad.png", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-08T21:47:43.000+0000", "size": 27567, "mimeType": "image/png" }, { "id": "63226", "filename": "expected_good.png", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-08T21:47:24.000+0000", "size": 27420, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TableView bottom border extends past the last table row", "creator": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Node Version: 6.10.3\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.2\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.2.0.v20170908103920\r\nAppcelerator Studio, build: 4.9.1.201707200100\r\nAndroid 6.0, 7.1 (only ones tested)\r\n", "comment": { "comments": [ { "id": "427736", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have verified that this bug was introduced after adding RefreshControl support in 6.2.0.\r\n\r\nThe Android \"RefreshLayout\" Java class (which is now a parent of Titanium's TableView and ListView views) ignores the Android \"WRAP_CONTENT\" setting for height (ie: Titanium's Ti.UI.SIZE setting).", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-09T01:50:19.000+0000", "updated": "2017-09-09T01:50:19.000+0000" }, { "id": "427775", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "-PR (master):- https://github.com/appcelerator/titanium_mobile/pull/9421\r\n\r\n_Edit: PR closed in favor of another PR. See comment below._", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-11T22:20:44.000+0000", "updated": "2017-10-21T01:02:47.000+0000" }, { "id": "428139", "author": { "name": "dfoxinator", "key": "dfoxinator", "displayName": "David Fox", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a pretty bad bug I think. When I compile my app in any 6.2.x version the ListView is rendered unusable because all of the auto-height items take up tons of extra space. I'm hoping that PR can be merged soon - thanks!", "updateAuthor": { "name": "dfoxinator", "key": "dfoxinator", "displayName": "David Fox", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-20T05:36:49.000+0000", "updated": "2017-09-20T05:36:49.000+0000" }, { "id": "428588", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "6_3_X: https://github.com/appcelerator/titanium_mobile/pull/9489", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-28T21:40:04.000+0000", "updated": "2017-09-28T21:40:04.000+0000" }, { "id": "428650", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for both master & 6.3.0 backport.\r\nPR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-02T22:42:25.000+0000", "updated": "2017-10-02T22:42:25.000+0000" }, { "id": "429380", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary], the fix for this on master has been moved to...\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/9513\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-21T01:01:01.000+0000", "updated": "2017-10-21T01:01:01.000+0000" }, { "id": "429453", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.0.0.v20171023120246 & 6.3.0.v20171018084007.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.10-2\r\nAppc CLI: 6.3.0-master.15\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.6\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 --- Android 6.0.1\r\n ⇨ google Pixel --- Android 7.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-23T20:57:36.000+0000", "updated": "2017-10-23T20:57:36.000+0000" }, { "id": "431508", "author": { "name": "dfoxinator", "key": "dfoxinator", "displayName": "David Fox", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "dfoxinator", "key": "dfoxinator", "displayName": "David Fox", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-30T05:22:59.000+0000", "updated": "2017-11-30T05:22:59.000+0000" }, { "id": "431547", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dfoxinator], as far as we know, all auto-sizing issues are fixed. If you're running into problems, then can you write up a new JIRA ticket please and attach a reproducible case? Thanks!", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-30T20:30:34.000+0000", "updated": "2017-11-30T20:30:34.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }