{ "id": "88966", "key": "TIMOB-8332", "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": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-04-27T11:01:29.000+0000", "created": "2012-03-27T13:14:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "16307", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "84266", "key": "TIMOB-6873", "fields": { "summary": "Android: Inconsistent Focus and Blur events with Textfield in TableViewRow", "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": "16887", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90788", "key": "TIMOB-8869", "fields": { "summary": "Android: soft keyboard is covering the tableViewRow textField ", "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": "16687", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "64083", "key": "TIMOB-3451", "fields": { "summary": "Android: TextField in TableViewRow in 2nd Tab in TabGroup loses focus on keyboard display", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16684", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88495", "key": "TIMOB-8191", "fields": { "summary": "Android: TextField loses focus if resized", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "23414", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "105644", "key": "TIMOB-11903", "fields": { "summary": "Android: TextField in a TableViewRow loses focus mysteriously and can't be focused with .focus()", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16584", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86342", "key": "TIMOB-7618", "fields": { "summary": "Android: Text field loses focus when changing orientation", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-16T01:05:07.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": "h2. Problem description\r\nTableView textField loses focus when typing in. \r\n\r\nh2. Steps to reproduce\r\nCreate a tableView and a tableViewRow with a textField.\r\nClick on the textField and start typing some text\r\n\r\nResult: after the first character, focus on the textField is lost. \r\n\r\n{code:lang=javascript|name=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'black'\r\n});\r\n\r\nvar data = [];\r\n\r\nvar tableview;\r\nvar row = Ti.UI.createTableViewRow({\r\n\tclickName: 'row'\r\n});\r\n\r\nvar textfield = Titanium.UI.createTextField({\r\n\twidth: '80%',\r\n\theight: 80,\r\n\tcolor: '#000',\r\n\treturnKeyType: Titanium.UI.RETURNKEY_DONE,\r\n\tenableReturnKey: true,\r\n\tkeyboardType: Titanium.UI.KEYBOARD_ASCII,\r\n\tautocorrect: false,\r\n\thintText: 'Enter text Field',\r\n\ttextAlign: 'left',\r\n\tclearOnEdit: false,\r\n\tborderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\tclearButtonMode: Titanium.UI.INPUT_BUTTONMODE_ONFOCUS,\r\n\tleftButtonMode: Titanium.UI.INPUT_BUTTONMODE_ALWAYS\r\n});\r\n\r\ntextfield.font = {\r\n\tfontSize: '15sp',\r\n\tfontFamily: 'Arial'\r\n};\r\ntextfield.autocorrect = true;\r\ntextfield.borderStyle = Titanium.UI.INPUT_BORDERSTYLE_NONE;\r\n\r\nrow.add(textfield);\r\n\r\ndata = [row];\r\ntableview = Titanium.UI.createTableView({\r\n\tdata: data,\r\n\trowBackgroundColor: 'white',\r\n\r\n});\r\nwin.add(tableview);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh2. Additional notes\r\nTicket associated: http://support-admin.appcelerator.com/display/APP-682796", "attachment": [], "flagged": false, "summary": "Android: tableView textField focus is lost while typing", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android OS\r\nTiSDK 2.0 CI, 1.8.2, 1.8.0.1", "comment": { "comments": [ { "id": "191391", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T11:51:37.000+0000", "updated": "2012-04-17T12:12:54.000+0000" }, { "id": "191421", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-3451 appears to be fixed as well and is probably a duplicate of this issue. Please test to verify.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T13:18:57.000+0000", "updated": "2012-04-17T13:18:57.000+0000" }, { "id": "191665", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A possible workaround would be to use [SOFT_INPUT_ADJUST_PAN|http://docs.appcelerator.com/titanium/2.0/index.html#!/api/Titanium.UI.Android-property-SOFT_INPUT_ADJUST_PAN] mode when creating the window. This will prevent a resize of the window when the keyboard appears.\r\n\r\nFocus will be lost if a resize occurs and it is not clear yet if we can fully fix this in platform.\r\nWe will continue investigating before coming to a final conclusion.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-18T14:19:02.000+0000", "updated": "2012-04-18T14:19:02.000+0000" }, { "id": "192950", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After evaluating this issue we have decided not to support placing textfield/textarea inside a table row on Android.\r\nIt is not well supported and considered bad practice on Android. Please see TIMOB-8869 for a possible\r\nalternative path.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-27T10:44:00.000+0000", "updated": "2012-04-27T10:44:00.000+0000" }, { "id": "192959", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See TIMOB-8869 for a possible work around.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-27T10:57:41.000+0000", "updated": "2012-04-27T10:57:41.000+0000" }, { "id": "192961", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On Android using TextField or TextArea inside a TableViewRow is not well supported and considered bad practice.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-27T11:01:29.000+0000", "updated": "2012-04-27T11:01:29.000+0000" }, { "id": "275052", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Is there any docs stating that TextFields inside TableViews (List Views) are a bad practice on Android?\r\n\r\nI can understand that TextAreas are indeed a bad practice inside Lists as they are both scrolling views, but I see no reason at all that TextFields should be considered bad practice inside any kind of scroll views.\r\n\r\nGoogle itself does use textfield inside scrollable views and native List Views (TableViews) on many of their apps.", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-10-14T21:33:56.000+0000", "updated": "2013-10-14T21:33:56.000+0000" }, { "id": "426744", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T01:05:03.000+0000", "updated": "2017-08-16T01:05:03.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }