{ "id": "173210", "key": "TIMOB-26908", "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": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-04-03T09:07:24.000+0000", "created": "2019-03-18T20:03:06.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule", "ios", "regression", "searchBar" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-03T09:07:24.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": "Closing a window with a search being in focus, the parent window freezes. We haven't been able to provide an isolated test case, but it can be reproduced with a list-view + search-bar. I suspect the search-controller does not hide before the parent window closes and then stays in the VC stack.\r\n\r\nI don't see any possible workaround so far, except overriding the native back button with an own one which is a no go as well.", "attachment": [], "flagged": false, "summary": "iOS: Focussed text-field freezes parent window", "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": "SDK 8.1.0", "closedSprints": [ { "id": 1123, "state": "closed", "name": "2019 Sprint 7", "startDate": "2019-03-18T17:27:25.993Z", "endDate": "2019-03-30T17:27:00.000Z", "completeDate": "2019-03-29T18:02:37.441Z", "originBoardId": 114 }, { "id": 1124, "state": "closed", "name": "2019 Sprint 8", "startDate": "2019-03-31T18:03:00.000Z", "endDate": "2019-04-12T18:03:00.000Z", "completeDate": "2019-04-12T19:04:50.175Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446950", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "cc [~vsingh] as you recently worked on this - maybe you have a quick fix for this!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-18T20:05:02.000+0000", "updated": "2019-03-18T20:05:02.000+0000" }, { "id": "446956", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] Can you please give a test case to reproduce this? Thanks!\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-19T00:15:00.000+0000", "updated": "2019-03-19T00:15:00.000+0000" }, { "id": "446961", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Et voilá:\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 });\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}\r\n\r\nRelated: I also noticed that:\r\n- {{showSearchBarInNavBar}} does not work if you use custom item templates (TIMOB-26913)\r\n- {{showSearchBarInNavBar}} flickers if focussed on close (TIMOB-26912)\r\n\r\nThanks [~vijaysingh]!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-19T08:40:35.000+0000", "updated": "2019-03-19T08:51:11.000+0000" }, { "id": "447311", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR(8_0_X)- https://github.com/appcelerator/titanium_mobile/pull/10810\r\nPR(master) - https://github.com/appcelerator/titanium_mobile/pull/10811", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-27T22:41:19.000+0000", "updated": "2019-03-27T22:41:19.000+0000" }, { "id": "447318", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the pull vijay! Testing it in our app today.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-28T06:48:15.000+0000", "updated": "2019-03-28T06:48:15.000+0000" }, { "id": "447365", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, Waiting on Jenkins. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-29T13:33:24.000+0000", "updated": "2019-03-29T13:33:24.000+0000" }, { "id": "447441", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket* Fix verified in SDK Version {{8.0.1.v20190402094527}} and SDK Version {{8.1.0.v20190402113644}}\r\n\r\nTest and other information can be found at: \r\nPR(8_0_X)- https://github.com/appcelerator/titanium_mobile/pull/10810\r\nPR(master) - https://github.com/appcelerator/titanium_mobile/pull/10811", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-03T09:07:19.000+0000", "updated": "2019-04-03T09:07:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }