{ "id": "170372", "key": "TIMOB-25528", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-11-21T08:25:04.000+0000", "created": "2017-11-17T20:59:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [ { "id": "56165", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170252", "key": "TIMOB-25491", "fields": { "summary": "iOS: Ti.UI.SearchBar not slide down when set visible a view on top", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-28T20:31: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Issue Description \r\n\r\nWe are having an issue with ListViews with SearchBar hiding behind the Navigation Bar when cancelling the search. Please see the details below for steps to re-create, screenshots, and a sample app. Note that this issue exists only with version 6.3.0.GA. App works without any issues with previous versions of the SDK. \r\n\r\nSteps to recreate: \r\n\r\n1) Launch the sample app with Ti SDK 6.3.0.GA \r\n2) Enter a search text in the search bar. For example, enter 'L' \r\n3) Click on one of the list items to go to second window \r\n4) On the second window, click on the back arrow to go to previous window \r\n5) On the first window, notice that search text is still populated and search bar is visible \r\n6) Click the cancel button on the search bar \r\n7) Notice that search bar is hidden behind the navigation bar - This is the issue. Expected behavior is the search bar should be fully visible just below the navigation bar. \r\n\r\n", "attachment": [ { "id": "63640", "filename": "ListViewSearch-SampleApp2.zip", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T20:59:03.000+0000", "size": 10001129, "mimeType": "application/zip" }, { "id": "63639", "filename": "Screen_Shot_2017-11-17_at_10.55.32_AM.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T20:59:02.000+0000", "size": 90034, "mimeType": "image/png" }, { "id": "63638", "filename": "Screen_Shot_2017-11-17_at_10.55.38_AM.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T20:59:01.000+0000", "size": 90482, "mimeType": "image/png" }, { "id": "63637", "filename": "Screen_Shot_2017-11-17_at_10.55.44_AM.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T20:59:02.000+0000", "size": 84399, "mimeType": "image/png" }, { "id": "63636", "filename": "Screen_Shot_2017-11-17_at_10.56.00_AM.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-17T20:59:02.000+0000", "size": 92521, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: ListView with SearchBar issue with Ti SDK 6.3.0.GA", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n\r\n Name = Mac OS X\r\n\r\n Version = 10.13\r\n\r\n Architecture = 64bit\r\n\r\n # CPUs = 4\r\n\r\n Memory = 8589934592\r\n\r\nNode.js\r\n\r\n Node.js Version = 6.10.3\r\n\r\n npm Version = 3.10.10\r\n\r\nTitanium CLI\r\n\r\n CLI Version = 5.0.14\r\n\r\nTitanium SDK\r\n\r\n SDK Version = 6.1.1.GA and 6.3.0.GA\r\n\r\n SDK Path = /Users/tanim/Library/Application Support/Titanium/mobilesdk/osx/6.1.1.GA\r\n\r\n Target Platform = iphone", "closedSprints": [ { "id": 975, "state": "closed", "name": "2017 Sprint 24 SDK", "startDate": "2017-11-19T18:59:24.352Z", "endDate": "2017-12-03T18:59:00.000Z", "completeDate": "2017-12-04T23:20:14.151Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "431088", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\nTest Case 1 (TiUIListView) :\r\n\r\n{code:java}\r\nvar rows = [];\r\nfor (var i = 0; i < 20; i++) {\r\n rows.push({ properties: { title: 'Row '+ i , backgroundColor: 'red', searchableText:'Row '+i}});\r\n}\r\n \r\nvar win = Ti.UI.createWindow({\r\n title: 'TEST',\r\n backgroundColor: '#ffffff',\r\n});\r\n \r\nvar nav = Ti.UI.iOS.createNavigationWindow({ \r\n window: win,\r\n });\r\n \r\n var testView = Ti.UI.createView({\r\n left : 20,\r\n right : 40\r\n });\r\nvar sb = Ti.UI.createSearchBar();\r\n \r\nvar ls = Ti.UI.createListSection({\r\n items: rows\r\n});\r\n \r\n var lv = Ti.UI.createListView({\r\n dimBackgroundForSearch: true,\r\n sections: [ls],\r\n searchView: sb,\r\n});\r\n \r\n testView.add(lv);\r\n \r\nsb.setHintText(\"test\");\r\n sb.addEventListener('change', function(e){\r\n Ti.API.info(e.value);\r\n});\r\n \r\nsb.addEventListener('return', function(e){\r\n sb.blur();\r\n});\r\nlv.addEventListener('itemclick', function(e) {\r\n Ti.API.info('click at index: ' + e.itemIndex);\r\n var win1 = Ti.UI.createWindow({\r\n title: 'SecondWindow',\r\n backgroundColor: 'blue',\r\n});\r\nnav.openWindow(win1);\r\n});\r\n \r\nwin.add(testView);\r\nnav.open();\r\n{code}\r\n\r\nTest Case 2. (TiUITableView)\r\n\r\n{code:java}\r\nvar rows = [];\r\nfor (var i = 0; i < 20; i++) {\r\n rows.push({ title: 'Row '+ i});\r\n}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#ffffff',\r\n layout : 'vertical'\r\n});\r\n\r\nvar nav = Ti.UI.iOS.createNavigationWindow({ \r\n window: win,\r\n });\r\n\r\nvar sb = Ti.UI.createSearchBar();\r\n \r\nvar lv = Ti.UI.createTableView({\r\n data: rows,\r\n search: sb,\r\n});\r\n \r\n sb.setHintText(\"test\");\r\n sb.addEventListener('change', function(e){\r\n Ti.API.info(e.value);\r\n});\r\n \r\nsb.addEventListener('return', function(e){\r\nsb.blur();\r\n});\r\n \r\nsb.addEventListener('cancel', function(e){\r\n});\r\nlv.addEventListener('click', function(e) {\r\n Ti.API.info('click at index: ' + e.index);\r\n var win1 = Ti.UI.createWindow({\r\n title: 'SecondWindow',\r\n backgroundColor: 'blue',\r\n});\r\n nav.openWindow(win1); \r\n})\r\n \r\nwin.add(lv);\r\nnav.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-21T08:03:02.000+0000", "updated": "2017-11-21T08:03:02.000+0000" }, { "id": "431096", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed as part of TIMOB-25491", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-21T08:25:04.000+0000", "updated": "2017-11-21T08:25:04.000+0000" }, { "id": "431401", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate and fix verified in SDK build 7.0.0.v20171128115332", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-28T20:31:26.000+0000", "updated": "2017-11-28T20:31:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }