{ "id": "171208", "key": "TIMOB-25819", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-07-03T12:08:31.000+0000", "created": "2018-02-27T15:32:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "bug", "listview", "scrollview", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-07-03T22:25:38.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 you have a ListView within a ScrollView on Android, sometimes the scroll view starts around the middle of the screen.\r\n\r\ne.g.\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\nHowever changing the ListView into a normal view seems to fix the issue.\r\n\r\nIn addition, there are times where the above window opens up fine. But most of the time it opens up incorrectly.\r\n\r\nNote that this does not happen on iOS.\r\n\r\nTested on:\r\n - Samsung S6 (real device) and \r\n - Nexus 5 emulator (API 19) \r\n\r\nwith SDK: Titanium 7.0.2 GA\r\n\r\n", "attachment": [ { "id": "64910", "filename": "how-it-should-look.png", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-02-27T15:30:01.000+0000", "size": 13493, "mimeType": "image/png" }, { "id": "64909", "filename": "how-it-starts-up.png", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-02-27T15:30:29.000+0000", "size": 9318, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ScrollView starts at the wrong location if it contains a ListView", "creator": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Home\r\n Version = 10.0.16299\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 15.9GB\r\n\r\nNode.js\r\n Node.js Version = 8.9.3\r\n npm Version = 5.5.1\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.12\r\n Core Package = 7.0.2\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41", "closedSprints": [ { "id": 1028, "state": "closed", "name": "2018 Sprint 09 SDK", "startDate": "2018-04-22T22:53:08.928Z", "endDate": "2018-05-06T22:53:00.000Z", "completeDate": "2018-05-07T00:02:15.883Z", "originBoardId": 114 }, { "id": 1018, "state": "closed", "name": "2018 Sprint 07 SDK", "startDate": "2018-03-25T21:59:36.637Z", "endDate": "2018-04-08T21:59:00.000Z", "completeDate": "2018-04-08T17:55:14.467Z", "originBoardId": 114 }, { "id": 1034, "state": "closed", "name": "2018 Sprint 10 SDK", "startDate": "2018-05-07T00:03:21.636Z", "endDate": "2018-05-21T00:03:00.000Z", "completeDate": "2018-05-20T20:54:58.928Z", "originBoardId": 114 }, { "id": 1035, "state": "closed", "name": "2018 Sprint 11 SDK", "startDate": "2018-05-20T20:57:43.542Z", "endDate": "2018-06-03T20:57:00.000Z", "completeDate": "2018-06-04T15:13:14.425Z", "originBoardId": 114 }, { "id": 1021, "state": "closed", "name": "2018 Sprint 08 SDK", "startDate": "2018-04-08T17:57:36.122Z", "endDate": "2018-04-22T17:57:00.000Z", "completeDate": "2018-04-22T22:51:19.120Z", "originBoardId": 114 }, { "id": 1008, "state": "closed", "name": "2018 Sprint 06 SDK", "startDate": "2018-03-11T22:18:04.396Z", "endDate": "2018-03-25T22:18:00.000Z", "completeDate": "2018-03-25T21:52:36.683Z", "originBoardId": 216 } ], "comment": { "comments": [ { "id": "434974", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I was able to reproduce the issue on the Android with SDK 7.0.2.GA. Moving to TIMOB. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-02-27T21:14:50.000+0000", "updated": "2018-02-27T21:14:50.000+0000" }, { "id": "435113", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9901", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2018-03-02T16:31:45.000+0000", "updated": "2018-03-02T16:31:45.000+0000" }, { "id": "438301", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*Closing ticket as fixed*\r\n\r\nVerified using the steps in the description above, ScrollView starts at the top of the page now.\r\n\r\n{noformat}\r\nSDK Ver: 7.3.0.v20180607210411\r\nOS Ver: 10.13.5\r\nAppc NPM: 4.2.13\r\nAppc CLI: 7.0.4-5\r\nTi CLI Ver: 5.1.1\r\nNode Ver: 8.9.4\r\nNPM Ver: 6.0.0\r\nEmulator: 7.1.1\r\nPixel 2 XL: 8.1.0\r\n{noformat}\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-06-11T18:29:22.000+0000", "updated": "2018-06-11T18:29:22.000+0000" }, { "id": "438852", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Everyone,\r\n\r\nThe fix for this causes regression (see: [TIMOB-26167]) where a TextField/TextArea can no longer be edited if in a ScrollView. This issue needs to be solved a different way. I have a solution and plan on submitting a PR tomorrow.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-29T02:56:47.000+0000", "updated": "2018-06-29T02:56:47.000+0000" }, { "id": "438878", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10145", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-30T03:27:32.000+0000", "updated": "2018-06-30T03:27:32.000+0000" }, { "id": "438947", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (7.3.x): https://github.com/appcelerator/titanium_mobile/pull/10149", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-02T22:17:59.000+0000", "updated": "2018-07-02T22:17:59.000+0000" }, { "id": "438994", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.3.0.v20180703051211\r\nClosing.\r\n\r\nStudio Ver: 5.1.0.201806291005\r\nSDK Ver: 7.3.0.v20180703051211\r\nOS Ver: 4.2.13\r\nXcode Ver: 7.0.4\r\nAppc NPM: 1.1.3\r\nAppc CLI: 10.13.5\r\nDaemon Ver: Xcode 9.4.1\r\nTi CLI Ver: 5.1.1\r\nAlloy Ver: 1.12.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 10.0.1\r\nDevices: ⇨ google Nexus 5 --- Android 6.0.1\r\n ⇨ google Nexus 6P --- Android 8.1.0\r\nEmulator: ⇨ Android 4.1.2\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-03T22:25:32.000+0000", "updated": "2018-07-03T22:25:32.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }