{ "id": "104193", "key": "TIMOB-11621", "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": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14784", "description": "2012 Sprint 25 API", "name": "2012 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-12-11T00:33:44.000+0000", "created": "2012-10-31T09:11:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-and214" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T18:27:15.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": "This is not a regression.It exists as far as 2.0.1\r\n\r\nThe focus event should be fired on clicking 'focus search bar' button. But it do not fired. It is fired when 'blur search bar' button is pressed.\r\n\r\nSteps to reproduce:\r\n1. Run KitchenSink\r\n2. Go to Controls - Search Bar\r\n3. Click the 'Focus Search Bar' button\r\n4. Click the 'Blur Search Bar' button\r\n\r\nExpected result:\r\n3. Search bar should be activated, keyboard should get displayed and in the console should get: \r\n[INFO] search bar: focus received \r\n4. Search bar should be passive and in the ddms should get: \r\n[INFO] search bar:blur received \r\n\r\nActual result:\r\n3. No focus info is getting logged in ddms.No keyboard is displayed.\r\n4. Search bar becomes passive and in the ddms we get: \r\n[INFO] search bar: focus received\r\n[INFO] search bar:blur received ", "attachment": [], "flagged": false, "summary": "Kitchen sink->Search Bar -> Focus event is getting fired alongwith blur event.", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK:2.1.4.v20121026164613\r\nTitanium  Studio:3.0.0.201210220122\r\nDevice : HTC Desire V Android 4.0.3\r\nXcode : 4.5 \r\nMachine OS : MAC 10.8", "comment": { "comments": [ { "id": "230761", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since the SearchBar is the only focusable view in the layout, Android will always try to re-focus even after focus was removed from it. This is expected Android behavior- it will try to focus the first focusable view (top-down). One way to get around this is to set an invisible view that is focusable at the top of the layout, that way when focus is removed from the searchbar, the invisible view will get focus instead.\n\nClosing as invalid.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T00:32:52.000+0000", "updated": "2012-12-11T00:32:52.000+0000" }, { "id": "247033", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue since According to developer comments, this is android expected behaviour", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T09:23:12.000+0000", "updated": "2013-04-11T09:23:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }