{ "id": "163352", "key": "TIMOB-24090", "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": [], "resolution": null, "resolutiondate": null, "created": "2016-09-21T09:19:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:08.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Below is the list of issues observed in the ListView with Textfields as ListItems: \r\n\r\n· We have multiple text fields as List Items in a list view .For android version 5.0.2, we cannot input anything for 2nd or 3rd textfileds onwards .(Textfileds which are at lower part of the screen). When we click on text Fields, the soft keyboard appears and disappears instantly.\r\n \r\n· In Android, the application is crashing sometimes when user clicks on the Yes/No button of the list items. On Click of this Yes/No button the Childs question (Textfileds) are added and removed from the list section.\r\n \r\n· In IPAD for question no 7b, which has got two child question (text fields), user cannot focus on 2nd question text filed to input data.\r\n \r\n· Changing the style of Views in the templates at runtime causing application to hang(non responsive).\r\n\r\n----------\r\nThanks ", "attachment": [ { "id": "60299", "filename": "HealthQuestions.zip", "author": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-21T09:15:14.000+0000", "size": 8032657, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android TextField causing multiple issues with Listview", "creator": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android V 5", "comment": { "comments": [ { "id": "396805", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please isolate the issue into one app.js that can be tested by our support-team. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-21T09:57:13.000+0000", "updated": "2016-09-21T09:57:13.000+0000" }, { "id": "396918", "author": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Hans , \r\n\r\nWe are using an alloy framework , if we try to put every thing in app.js , then the problem may dilute . \r\nFor you better understanding , the project has just two controllers (index.js & HealthQuestions.js) . Index.js contains a simple button , on clicking that button , the HealthQuestion controller is opened .\r\n\r\nHealthQuestion controller populates a ListView by reading the JSON data from data.json under lib folder .\r\nHealthQuestion controller displays list of Question and sub Question . Question can have Yes/No button , text fields or select options. Below is the description of the functions in the HealthQuestion\r\n\r\nloadJsonFile : loads the JSON data from the file into a variable\r\npopulateListView : carete the listView by parsing the JSON data\r\ncreateSection : creates the section of the list view by using the JSON data's question tag\r\ncreateItem : creates item of the listview\r\nreplaceSection : replaces the section of the listview at the speified index position\r\n yesButtonClick : called when user clicks on the Yes button of the question\r\nnoButtonClick : called when user clicks on the No button of the question\r\ntextFieldChange : called when the user is changing text in the textfield\r\n\r\n\r\n ", "updateAuthor": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T09:31:53.000+0000", "updated": "2016-09-22T09:31:53.000+0000" }, { "id": "396925", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Gotcha. But do we need all that JSON-parsing for a reproducible case? To show the behavior, a custom test-case would be enough and much appreciated by our Android-team. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-22T10:20:06.000+0000", "updated": "2016-09-22T10:20:06.000+0000" }, { "id": "396931", "author": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since , the items are populated in the ListView , parsing the json is necesarry .\r\n\r\nBelow is the Test case to reproduce the issue no 1 (*soft keyboard appears and disappears instantly*)\r\n1.Start the app \r\n2.Click on the \"Go TO Health Question\" Button\r\n3.Click on the No Button of the 1st Question . Child Question having label Explanation and a TextField will be populated below the parent question\r\n4.Click on the Yes Button of the 2nd Question. Child Question having label Explanation and a TextField will be populated below the parent question\r\n5.Input Some text data in the TextFiled of the 1st Question's Child question\r\n6.Try to Input Some text data in the second textfield data\r\n7.Soft Keyboard will appear and disappears instantly \r\n\r\nPlease let us know if you are able to reproduce this issue , then will post the test case for others too.", "updateAuthor": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T11:03:25.000+0000", "updated": "2016-09-22T11:03:25.000+0000" }, { "id": "398209", "author": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there any update on this ? We need to inform the same to client accordingly.", "updateAuthor": { "name": "chandan.gupta", "key": "chandan.gupta", "displayName": "Chandan Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-06T08:26:02.000+0000", "updated": "2016-10-06T08:26:02.000+0000" }, { "id": "400178", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tried your sample code and followed your guide to reproduce the issue. I was able to regenerate the issue. On the second textfield when I try to put something the soft keyboard opens and disappeared instantly and the cursor goes to the first textfield. The issue is reproducible with Android 5.x.x and The issue is not occurring in Android 6.x.x. Moving the ticket to engineering. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-01T16:55:37.000+0000", "updated": "2016-11-01T16:55:37.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }