{ "id": "89983", "key": "TIMOB-8720", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13406", "description": "Sprint 2012-10 API", "name": "Sprint 2012-10 API", "archived": true, "released": true, "releaseDate": "2012-05-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-15T13:35:53.000+0000", "created": "2012-04-13T11:31:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_tableview", "qe-ios040912", "qe-testadded", "regression" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "16568", "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": "16872", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "88487", "key": "TIMOB-8185", "fields": { "summary": "iOS: TextField loses focus if resized", "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" }, "outwardIssue": { "id": "89982", "key": "TIMOB-8719", "fields": { "summary": "iOS: iPad: TableView: Soft keyboard does not appear and last row is not focused in 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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-30T10:11:01.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 disappears and last text field losses its focus after rotating device to landscape mode.\r\nThis bug does not occur on 2.0.0, but exists on 1.8.2\r\n\r\nSteps:\r\n1. Run the following code on iPad:\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\n2. Rotate device to landscape mode\r\n\r\nExpected result:\r\nSoft keyboard should not disappear and last row should stay focusable\r\n\r\nActual result:\r\nSoft keyboard disappears and last row losses its focus", "attachment": [ { "id": "27677", "filename": "IMG_0005.PNG", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-14T11:28:14.000+0000", "size": 164940, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: iPad - TableView: Soft keyboard disappears and last text field losses its focus after rotating device to 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": "194587", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2177", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-11T16:05:17.000+0000", "updated": "2012-05-11T16:05:17.000+0000" }, { "id": "194590", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test code you can run on iPhone,iPAD\r\n{code}\r\nvar win = Ti.UI.createWindow({ \r\n\ttitle: 'Focus Test', \r\n\tbackgroundColor: '#fff',\r\n\torientationModes:[Ti.UI.PORTRAIT,Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT,Ti.UI.UPSIDE_PORTRAIT]\r\n});\r\n \r\nvar rows = [];\r\nfor (var i = 0; i < 40; 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: 'This is row .'+i,\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}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-11T16:08:30.000+0000", "updated": "2012-05-11T16:08:30.000+0000" }, { "id": "194686", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue introduced by PR: *Keyboard floats*\r\n\r\n1. Rotate into landscape\r\n2. Rotate back into portrait\r\n3. Repeat 1 & 2 (possibly rotating into other orientations along the way)\r\n\r\nSpeed of rotations may play a role.\r\n\r\nOR\r\n\r\n1. Sometimes in evidence on app startup (iPad 1, 5.0.1)", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-14T11:28:14.000+0000", "updated": "2012-05-14T11:28:14.000+0000" }, { "id": "194885", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The issue mentioned above is because the keyboard gets undocked while fast ui switching. Race condition between the keyboard animation and the manual rotation animation. Too much of our code depends on manual rotation so not much we can do right now without risking a whole bunch of regressions. Need to revisit our orientation management system post 2.1.0", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-15T13:23:08.000+0000", "updated": "2012-05-15T13:23:08.000+0000" }, { "id": "198494", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing bug as fixed.\r\nTested and verified on:\r\nTitanium Studio, build: 2.1.0.201206131907\r\nTitanium SDK: 2.1.0.v20120613210250", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T09:42:25.000+0000", "updated": "2012-06-14T09:42:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }