{ "id": "99793", "key": "TIMOB-10602", "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": "15498", "description": "2013 Sprint 12 API", "name": "2013 Sprint 12 API", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-13T21:23:07.000+0000", "created": "2012-08-24T16:50:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "exalture", "module_searchbar", "parity", "qe-manualtest" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-08-13T21:23:07.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": "When there are more than one search bars in a window and when we type something in the first search bar and return key is pressed, the next search bar is getting focused instead of populating the results for the first search bar. When the last search bar has some value entered and when return key is pressed it stays on that search bar which is the exact behavior that is expected for the first Search Bar. It works fine on iOS.\r\n\r\nh4.Steps to Reproduce:\r\n\r\n1. Run the application with the below sample app.js.\r\n2. Type something in the first Search bar and then press the return key on the keyboard.\r\nExpected Result: The control should stay in the first search bar.\r\nActual Result: It goes to the second search bar Automatically on pressing the return key.\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Search Bars',\r\n backgroundColor:'#fff'\r\n});\r\nvar search1 = Titanium.UI.createSearchBar({\r\n    barColor:'#000',\r\n    showCancel:true,\r\n    height:43,\r\n    top:0\r\n});\r\n\r\n\r\nvar search2 = Titanium.UI.createSearchBar({\r\n    barColor:'#000',\r\n    showCancel:true,\r\n    height:43,\r\n    top:80\r\n});\r\nwin.add(search1);\r\nwin.add(search2);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: When there are Multiple Search Bars Return key goes to the next SearchBar instead of populating results of the current Search Bar.", "creator": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android V2.2 (LG Optimus V), Titanium Studio: 2.1.0GA, 2.1.1GA", "comment": { "comments": [ { "id": "240682", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\nAndroid Emulator: Android SDK version: 2.2\niOS iPhone Simulator: iOS SDK version: 6.0\n\nworks fine on iOS.\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T10:26:48.000+0000", "updated": "2013-03-05T10:26:48.000+0000" }, { "id": "246405", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "set ime options to IME_ACTION_DONE instead of default IME_ACTION_NEXT. Setting to IME_ACTION_DONE will also fire the 'return' event.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4117", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-04-08T15:01:01.000+0000", "updated": "2013-04-08T15:01:01.000+0000" }, { "id": "276318", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Pressing the return key on any searchBar, it stays on the current searchBar.\r\n\r\nVerified fix on:\r\nDevice : HTC desire V , Android version : 4.0.3\r\nSDK: 3.2.0.v20131022171645\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310181700\r\nXCode : 5\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-23T09:09:59.000+0000", "updated": "2013-10-23T09:09:59.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }