{ "id": "89982", "key": "TIMOB-8719", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-11T16:07:42.000+0000", "created": "2012-04-13T11:30:21.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-ios040912" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "16567", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "80392", "key": "TIMOB-5301", "fields": { "summary": "iOS: iPad Table View w/ Cuts Text Field Off Screen", "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": "16569", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89983", "key": "TIMOB-8720", "fields": { "summary": "iOS: iPad - TableView: Soft keyboard disappears and last text field losses its focus after rotating device to landscape mode", "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": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:28:04.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description:\r\nSoft keyboard does not appear and last row is not focused if test case launched in landscape mode.\r\nThis bug occurs on 1.8.2 and 2.0.0.\r\n\r\nSteps:\r\nRun the following code on iPad in landscape mode:\r\n{code}\r\nvar win = Ti.UI.createWindow({ title: 'Focus Test', backgroundColor: '#fff' });\r\n \r\nvar rows = [];\r\nfor (var i = 0; i < 20; i++) {\r\n var row = Ti.UI.createTableViewRow({\r\n height: 40\r\n });\r\n row.add(row.textField = Titanium.UI.createTextField({\r\n value: 'Last row focused; Scroll up, and then try to scroll back down.',\r\n color: '#000',\r\n top: 5, right: 10, bottom: 5, left: 10,\r\n borderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED\r\n }));\r\n rows.push(row);\r\n}\r\n \r\nwin.add(Ti.UI.createTableView({\r\n data: rows\r\n}));\r\n \r\nwin.addEventListener('open', function() {\r\n rows[rows.length - 1].textField.focus();\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\nExpected result:\r\nThe app automatically focuses the last row in the table view, popping up the keyboard\r\n\r\nActual result:\r\nSoft keyboard does not appear and last row is not focused", "attachment": [], "flagged": false, "summary": "iOS: iPad: TableView: Soft keyboard does not appear and last row is not focused in landscape mode", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 2.0.1.201204101854\r\nSDK: 2.0.1.v20120410103239\r\nDevice: iPad 2 (4.3.5)", "comment": { "comments": [ { "id": "194589", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "You can not focus a field that is not attached to the view. If the use case is that you need to attach a field that is off screen use a container that guarantees all children are attached (eg: ScrollVIew). Tableview optimizations include only loading rows that are currently visible.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-11T16:07:42.000+0000", "updated": "2012-05-11T16:07:42.000+0000" }, { "id": "411025", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:28:04.000+0000", "updated": "2017-03-09T23:28:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }