{ "id": "173216", "key": "TIMOB-26912", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-03-19T08:42:24.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSChedule" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-23T18:08:33.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Noticed while testing TIMOB-26908: The search bar flickers if closed while being focussed. Test-case:\r\n{code:js}\r\n\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Open Window'\r\n});\r\n\r\nbtn.addEventListener('click', openWindow)\r\nwindow.add(btn);\r\n\r\nvar nav = Ti.UI.createNavigationWindow({ window });\r\nnav.open();\r\n\r\nfunction openWindow() {\r\n var win = Ti.UI.createWindow({ title: 'Sub Window' });\r\n var search = Ti.UI.createSearchBar();\r\n var listView = Ti.UI.createListView({ searchView: search, showSearchBarInNavBar: true });\r\n win.add(listView);\r\n nav.openWindow(win)\r\n\r\n setTimeout(function () {\r\n search.focus();\r\n setTimeout(function() {\r\n win.close();\r\n }, 2000);\r\n }, 2000);\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: SearchBar with \"showSearchBarInNavBar \" flickers when closed while being in focus", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }