{ "id": "64083", "key": "TIMOB-3451", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-05-29T16:56:44.000+0000", "created": "2011-04-15T03:45:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "16687", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88966", "key": "TIMOB-8332", "fields": { "summary": "Android: tableView textField focus is lost while typing", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:40:37.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": "{html}

Environment:

\r\n\r\n

This issue was first discovered by user \"JH\" in this \r\nQ&A post

\r\n

With a textField added to a tableViewRow on a secondary tab, the\r\nuser clicks it and the keyboard appears but the textField loses\r\nfocus. This is demonstrated by the following code:

\r\n
\r\nvar win1 = Ti.UI.createWindow({\r\n  title:\"Window 1\"\r\n});\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n  title:\"Tab 1\",\r\n  window: win1\r\n});\r\n \r\nvar win2 = Ti.UI.createWindow({\r\n  title:\"Window 2\"\r\n});\r\n\r\nvar row = Ti.UI.createTableViewRow({});\r\nvar tF = Ti.UI.createTextField({\r\n//  keyboardType:Ti.UI.KEYBOARD_NUMBERS_PUNCTUATION, // another issue reported in next ticket\r\n  width:300\r\n});\r\n\r\nrow.add(tF);\r\nvar tV = Ti.UI.createTableView({data:[row]});\r\n//win1.add(tV); // this works as expected\r\nwin2.add(tV); // this demonstrates the issue\r\n \r\nvar tab2 = Ti.UI.createTab({  \r\n  title:'Tab 2',\r\n  window: win2\r\n});\r\n \r\nvar tabGroup = Ti.UI.createTabGroup();\r\ntabGroup.addTab(tab1);\r\ntabGroup.addTab(tab2);\r\ntabGroup.open();\r\n
\r\n

The issue does not exist when a tableView or tabGroup are not\r\nused, and 1.5.1 exhibits the correct behavior

{html}", "attachment": [], "flagged": false, "summary": "Android: TextField in TableViewRow in 2nd Tab in TabGroup loses focus on keyboard display", "creator": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "157895", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Changing customer priority to 'within release' as we have customers relying on this requirement.\r\n\r\nAssociated helpdesk ticket:\r\nhttp://appc.me/c/APP-515579", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-27T17:41:13.000+0000", "updated": "2011-06-27T17:41:13.000+0000" }, { "id": "157951", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Associated helpdesk ticket: http://appc.me/c/APP-557344\r\n\r\nAs well as Kitchen Sink sample: table_view_textfield.js\r\n", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-06-28T13:24:35.000+0000", "updated": "2011-06-28T13:24:35.000+0000" }, { "id": "191423", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Linking with TIMOB-8332 since the cause appears to be the same and this issue\r\nis resolved by the same fix.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T13:21:43.000+0000", "updated": "2012-04-17T13:21:43.000+0000" }, { "id": "195074", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "The issue exists in the latest master build.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-16T15:03:38.000+0000", "updated": "2012-05-16T15:03:38.000+0000" }, { "id": "196392", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the same issue as timob-8332. Resolving as Won't Fix.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T16:51:05.000+0000", "updated": "2012-05-29T16:51:05.000+0000" }, { "id": "414602", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:40:37.000+0000", "updated": "2017-03-21T22:40:37.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }