{ "id": "91973", "key": "TIMOB-9169", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-01T11:37:48.000+0000", "created": "2012-05-18T02:05:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios050912" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:04: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The focus on text area does not happen and the keyboard is not shown when focus for the text area is called after disabling and then enabling (i.e. toggling the editable state) the text area.\r\n\r\nSteps:\r\n1. Create and open the app\r\n2. click on text area or Focus button\r\n3. Click on Toggle \"editable\" button\r\n4. Click on Focus\r\n5. Again Click on Toggle \"editable\" button\r\n6. Now click on Focus\r\n\r\nExpected Result:\r\nAfter Step2: Text area is enabled and keyboard shows\r\nAfter Step4: Focus on text area does not happen and keyboard does not show up\r\nAfter Step6: Focus on text area happen and keyboard show up\r\n\r\nActual Result:\r\nAfter Step6: The focus on the text area does not happen on click of Focus button. However, if the user taps on text area and gains focus on it, the focus button starts behaving correctly.\r\n\r\nApp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'black'\r\n});\r\n \r\nvar ta1 = Titanium.UI.createTextArea({\r\n\teditable: true,\r\n\theight:70,\r\n\twidth:300,\r\n\ttop:60,\t\r\n});\r\nwin.add(ta1);\r\n\r\nvar b1 = Titanium.UI.createButton({\r\n\ttitle:'Focus',\r\n\theight:40,\r\n\twidth:200,\r\n\ttop:140\r\n});\r\nwin.add(b1);\r\nb1.addEventListener('click', function()\r\n{\r\n\tta1.focus();\r\n});\r\n\r\nvar b5 = Titanium.UI.createButton({\r\n\ttitle:'Toggle \"editable\"',\r\n\ttop:340,\r\n\theight:40,\r\n\twidth:200\r\n});\r\nwin.add(b5);\r\nb5.addEventListener('click',function(){\r\n\tta1.editable = !ta1.editable;\r\n});\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Text Area: The focus on text area does not happen through focus method call after toggling the enabled state of text area", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.0.2.201205141508\r\nTitanium SDK: 2.0.2.v20120515140151, 2.0.1, 1.8.2\r\nDevice: iPad 3(5.1), iPhone 3GS (5.0.1)", "comment": { "comments": [ { "id": "244873", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPad Simulator: iOS SDK version: 5.1\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T11:37:48.000+0000", "updated": "2013-06-20T12:25:32.000+0000" }, { "id": "289576", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This still happens in android\n\nTested with \nTitanium studio 3.2.0\nTitanium sdk 3.2.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-24T09:05:39.000+0000", "updated": "2014-01-24T09:05:39.000+0000" }, { "id": "414527", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:04:37.000+0000", "updated": "2017-03-21T22:04:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }