{ "id": "146374", "key": "TIMOB-18903", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-06-17T02:45:21.000+0000", "created": "2015-03-30T08:39:23.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "listview", "textfield" ], "versions": [], "issuelinks": [ { "id": "47096", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "111886", "key": "TIMOB-13262", "fields": { "summary": "Android: ListView - Can't focus textfield in listview row", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-06-18T21:52:46.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" } ], "attachment": [], "flagged": false, "summary": "Android: Text entry for TextField within ListView not working correctly with Android 5.0", "creator": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.5.1 GA\r\nAndroid 5.0.0\r\nGoogle Nexus 6 with Android 5.0.0 (running on Genymotion)", "closedSprints": [ { "id": 416, "state": "closed", "name": "2015 Sprint 12 SDK", "startDate": "2015-06-06T00:00:43.862Z", "endDate": "2015-06-20T00:00:00.000Z", "completeDate": "2015-06-23T05:41:35.834Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "348910", "author": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any update on this? Seems like a rather major issue to me.\r\n\r\nThanks.", "updateAuthor": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-08T09:56:19.000+0000", "updated": "2015-04-08T09:56:19.000+0000" }, { "id": "352240", "author": { "name": "c.waldmann@yatego.com", "key": "c.waldmann@yatego.com", "displayName": "Christian Waldmann", "active": true, "timeZone": "Europe/Berlin" }, "body": "This happens on Android 5.1 too. Is there any progress or priority on this? This really blocks my development!", "updateAuthor": { "name": "c.waldmann@yatego.com", "key": "c.waldmann@yatego.com", "displayName": "Christian Waldmann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-12T07:38:46.000+0000", "updated": "2015-05-12T07:38:46.000+0000" }, { "id": "354860", "author": { "name": "c.waldmann@yatego.com", "key": "c.waldmann@yatego.com", "displayName": "Christian Waldmann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reproduced on OnePlus One with 5.0.2", "updateAuthor": { "name": "c.waldmann@yatego.com", "key": "c.waldmann@yatego.com", "displayName": "Christian Waldmann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-06-11T08:17:24.000+0000", "updated": "2015-06-11T08:17:24.000+0000" }, { "id": "355017", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FYI, cc [~hpham]", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-12T15:31:25.000+0000", "updated": "2015-06-12T15:31:25.000+0000" }, { "id": "355248", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/6915\r\nadditional testing code (KS needs to be tested as well):\r\n{code}\r\nfunction setupTest(win) {\r\n\t\r\n\tvar data0 = [\r\n\t{template:'myCell1',taskLabel:{text:'Name'}},\r\n\t{template:'myCell1',taskLabel:{text:'Number'}}];\r\n\r\n\tvar myTemplate1 = {\r\n\t\tproperties: {height: '50dp'},\r\n\t\tchildTemplates:[\r\n\t\t{\r\n\t\t\ttype:'Ti.UI.Label',\r\n\t\t\tbindId:'taskLabel',\r\n\t\t\tproperties:{ left:0,width:'50%'}\r\n\t\t},\r\n\t\t{\r\n\t\t\ttype:'Ti.UI.TextField',\r\n\t\t\tproperties:{ right:0, width:'50%', borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, color:'black', backgroundColor:'lightgray',value:''},\r\n\t\t}\r\n\t\t]\r\n\t};\r\n\r\n\tvar section0 = Ti.UI.createListSection({headerTitle:'DATA ENTRY'});\r\n\tsection0.setItems(data0);\r\n\r\n\r\n\tvar listView = Ti.UI.createListView({\r\n\t\ttemplates:{'myCell1':myTemplate1},\r\n\t\tsections:[section0]\r\n\t});\r\n\t\r\n\t\r\n\twin.add(listView);\r\n}\r\n\r\n\tvar softInput = 'none';\r\n\tif (Titanium.Platform.osname == 'android') {\r\n\t\tsoftInput = Ti.UI.Android.SOFT_INPUT_ADJUST_PAN;\r\n\t}\r\n\tvar win = Ti.UI.createWindow({\r\n\t\ttitle:'Update Items',\r\n\t\twindowSoftInputMode:softInput\r\n\t});\r\n\t\r\n\tsetupTest(win);\r\n\t\r\n\twin.open();\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-16T19:03:39.000+0000", "updated": "2015-06-16T19:04:18.000+0000" }, { "id": "355306", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "To get the earlier sample code working:-\r\n{code}\r\nvar softInput = 'none';\r\nif (Titanium.Platform.osname == 'android') {\r\n\tsoftInput = Ti.UI.Android.SOFT_INPUT_ADJUST_PAN;\r\n}\r\n\r\nvar template = {\r\n\tchildTemplates : [{// Title\r\n\t\ttype : 'Titanium.UI.TextField', // Use a label for the title\r\n\t\tbindId : 'info', // Maps to a custom info property of the item data\r\n\t\tproperties : {// Sets the label properties\r\n\t\t\tcolor : 'black',\r\n\t\t\theight : 50,\r\n\t\t\tleft : 10,\r\n\t\t\tkeyboardType : Titanium.UI.KEYBOARD_DEFAULT,\r\n\t\t\twidth : 300,\r\n\t\t}\r\n \r\n\t}]\r\n};\r\nvar section = Ti.UI.createListSection();\r\nvar sectionData = [];\r\n \r\nfor (var k = 0; k < 15; k++) {\r\n\tsectionData.push({\r\n\t\tinfo : {\r\n\t\t\thintText : 'Row ' + (k + 1)\r\n\t\t}\r\n\t});\r\n}\r\nsection.setItems(sectionData);\r\n \r\nvar listView = Ti.UI.createListView({\r\n\tsections : [section],\r\n\tseparatorColor:'blue',\r\n\ttemplates : {\r\n\t\t'template' : template\r\n\t},\r\n\tdefaultItemTemplate : 'template',\r\n\ttop : 20,\r\n \r\n});\r\n \r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'ListView',\r\n\tbackgroundColor : '#fff',\r\n\twindowSoftInputMode:softInput\r\n});\r\nwin.add(listView);\r\nwin.open();\r\n\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-06-17T02:44:47.000+0000", "updated": "2015-06-17T02:44:47.000+0000" }, { "id": "355508", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nEntering text in to a textfield within a listview now works as expected.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201506151224\r\nTi SDK : 4.1.0.v20150617152826\r\nTi CLI : 4.0.1\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.3\r\nAppc NPM : 4.1.0-1\r\nAppc CLI : 4.1.0-1\r\nNode: v0.10.37\r\nNexus 5 - Android 5.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-18T21:52:36.000+0000", "updated": "2015-06-18T21:52:36.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }