{ "id": "105400", "key": "TIMOB-11842", "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": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14625", "description": "2012 Sprint 24 API", "name": "2012 Sprint 24 API", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-11-29T00:11:16.000+0000", "created": "2012-11-21T12:58:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-and100112", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-13T18:57:26.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 a regression. This issue was not occuring in 2.1.4. Though accessibility feature is not working in 2.1.4.\r\n\r\nThe app contains 4 search bar. Upper 3 search bars could be focused by clicking over them. The lower most search bar do not gains focus when clicked. It could be focused when navigation is done with keyboard(by clicking 'next').\r\n\r\nSteps to reproduce:\r\n1. Use the app below\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\t\tvar search1 = Titanium.UI.createSearchBar({\r\n\t\t barColor:'#000', \r\n\t\t showCancel:true,\r\n\t\t height:43,\r\n\t\t top:10,\r\n\t\t});\r\n\t\tvar search2 = Titanium.UI.createSearchBar({\r\n\t\t barColor:'#000', \r\n\t\t showCancel:true,\r\n\t\t height:43,\r\n\t\t top:100,\r\n\t\t accessibilityLabel: \"Search bar2 label.\",\r\n\t\t\taccessibilityValue: \"Search bar2 value.\",\r\n\t\t\taccessibilityHint: \"Search bar2 hint\"\r\n\t\t});\r\n\t\tvar search3 = Titanium.UI.createSearchBar({\r\n\t\t barColor:'#000', \r\n\t\t showCancel:true,\r\n\t\t height:43,\r\n\t\t top:200,\r\n\t\t accessibilityHint: \"Search bar3 hint\",\r\n\t\t accessibilityLabel: \"Search bar3 label.\",\r\n\t\t\taccessibilityValue: \"Search bar3 value.\"\r\n\t\t});\r\n\t\tvar search4 = Titanium.UI.createSearchBar({\r\n\t\t barColor:'#000', \r\n\t\t showCancel:true,\r\n\t\t height:43,\r\n\t\t top:300,\r\n\t\t accessibilityHidden: true,\r\n\t\t accessibilityLabel: \"Search bar4 label.\",\r\n\t\t\taccessibilityValue: \"Search bar4 value.\",\r\n\t\t\taccessibilityHint: \"Search bar4 hint\"\r\n\t\t});\r\n\t\t\r\n\twin.add(search1);\r\n\twin.add(search2);\r\n\twin.add(search3);\r\n\twin.add(search4);\r\n\twin.open();\r\n{code}\r\n2. Run the app and click the fourth(lower most) search bar\r\n\r\nExpected result:\r\n2. The clicked search bar should gain focus.\r\n\r\nActual result:\r\n2. The clicked search bar do not gains focus.", "attachment": [], "flagged": false, "summary": "Android: Accessibility: SearchBar: Setting 'accessibilityHidden: true' disables searchbar to gain focus by clicking over it.", "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": "Environment used for verification -\r\nTitanium SDK:3.0.0.v20121120110430\r\nTitanium  Studio:3.0.0.201211131839\r\nDevice : Nexus 7(4.1)\r\nXcode : 4.5 \r\nMachine OS : MAC 10.8", "comment": { "comments": [ { "id": "228905", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So far I've been unable to reproduce this.\r\nClicking on the 4th search bar causes it to gain focus.\r\n\r\nMy environments:\r\n\r\nNexus 7, Android 4.2\r\nSDK 3_0_X\r\nTitanium Studio 2.1.0\r\n\r\nSamsung Galaxy SIII (Sprint), Android 4.1.1\r\nSDK 3_0_X\r\nTitanium Studio 2.1.0\r\n\r\nIf you can still reproduce this, can you show me? Thanks.\r\n", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T21:50:34.000+0000", "updated": "2012-11-28T22:04:36.000+0000" }, { "id": "228908", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hey Karl, what version of sdk and studio did you use?\n", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T22:01:25.000+0000", "updated": "2012-11-28T22:01:25.000+0000" }, { "id": "228917", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Must turn on accessibility to see the failure, I can still reproduce this issue with 3.0.0.v20121127163410 on Nexus 10 4.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T22:28:57.000+0000", "updated": "2012-11-28T22:28:57.000+0000" }, { "id": "228946", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not a bug. Only 4.1 android and above supports the hidden property and in this case the hidden property is working as expected. When that property is set to true, that object does not exist when accessibility is turned on, but when accessibility is turned off then the user can access the object.", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-29T00:11:16.000+0000", "updated": "2012-11-29T00:11:16.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }