{ "id": "175646", "key": "TIMOB-28209", "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": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": null, "resolutiondate": null, "created": "2020-10-15T07:21:49.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "58848", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174954", "key": "TIMOB-27865", "fields": { "summary": "iOS: Titanium should add view controllers as children", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-01-18T14:32: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": [], "description": "App won't listen to orientation changes when back from the window which has a search bar in focus mode and uses a keyboard inside listview.\r\n\r\nwhen clicked on the back navigation button and the search bar in focus and it displays a keyboard, So the keyboard trying to hidden but the window is closed before it gets completely hidden and its animation didn't complete. Then all the app screens had a wrong orientation behavior when trying to change it.\r\n\r\n{color:#f79232}*the log when keyboard up*{color}\r\n\r\n{code:java}\r\nPresenting view controllers on detached view controllers is discouraged .\r\n{code}\r\n\r\n{color:#f79232}*the log when clicked back*{color}\r\n\r\n{code:java}\r\nAttempt to dismiss from view controller while a presentation or dismiss is in progress!\r\n{code}\r\n\r\n", "attachment": [ { "id": "67604", "filename": "index.js", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:38:42.000+0000", "size": 110, "mimeType": "application/x-javascript" }, { "id": "67606", "filename": "index.xml", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:38:22.000+0000", "size": 186, "mimeType": "text/xml" }, { "id": "67603", "filename": "listview.js", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:38:42.000+0000", "size": 114, "mimeType": "application/x-javascript" }, { "id": "67605", "filename": "listview.xml", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:38:23.000+0000", "size": 445, "mimeType": "text/xml" }, { "id": "67602", "filename": "Simulator Screen Shot - iPad Pro (9.7-inch) - 2020-10-15 at 08.39.30.png", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:41:42.000+0000", "size": 78136, "mimeType": "image/png" }, { "id": "67601", "filename": "Simulator Screen Shot - iPad Pro (9.7-inch) - 2020-10-15 at 08.40.34.png", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-15T06:41:42.000+0000", "size": 74565, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: App orientations stopped when using the search bar in the listview", "creator": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "subtasks": [], "reporter": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "environment": null, "closedSprints": [ { "id": 1209, "state": "closed", "name": "2020 Sprint 22", "startDate": "2020-10-27T02:33:00.000Z", "endDate": "2020-11-07T02:33:00.000Z", "completeDate": "2020-11-06T17:45:42.610Z", "originBoardId": 114 }, { "id": 1210, "state": "closed", "name": "2020 Sprint 23", "startDate": "2020-11-09T17:49:00.000Z", "endDate": "2020-11-20T17:49:00.000Z", "completeDate": "2020-11-20T17:46:00.641Z", "originBoardId": 114 }, { "id": 1211, "state": "closed", "name": "2020 Sprint 24", "startDate": "2020-11-23T18:12:00.000Z", "endDate": "2020-12-07T18:12:00.000Z", "completeDate": "2020-12-04T22:07:24.313Z", "originBoardId": 114 }, { "id": 1212, "state": "closed", "name": "2020 Sprint 25", "startDate": "2020-12-07T22:11:00.000Z", "endDate": "2020-12-18T22:11:00.000Z", "completeDate": "2020-12-18T16:35:34.544Z", "originBoardId": 114 }, { "id": 1213, "state": "closed", "name": "2020 Sprint 26", "startDate": "2020-12-21T16:40:00.000Z", "endDate": "2021-01-08T16:40:00.000Z", "completeDate": "2021-01-08T17:37:31.799Z", "originBoardId": 114 }, { "id": 1214, "state": "closed", "name": "2021 Sprint 1", "startDate": "2021-01-04T17:38:57.886Z", "endDate": "2021-01-15T17:38:00.000Z", "completeDate": "2021-01-15T20:35:11.006Z", "originBoardId": 114 }, { "id": 1215, "state": "closed", "name": "2021 Sprint 2", "startDate": "2021-01-18T20:36:00.000Z", "endDate": "2021-01-29T20:36:00.000Z", "completeDate": "2021-01-31T17:42:28.052Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "457270", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-28109", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-10-17T14:53:49.000+0000", "updated": "2020-10-17T14:53:49.000+0000" }, { "id": "457273", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "Yes, see it now. The same issue with more info about critical orientation bug.", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2020-10-17T16:01:23.000+0000", "updated": "2020-10-17T16:01:23.000+0000" }, { "id": "457350", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It looks valid bug. Moved to TIMOB to look in this.\r\nTest Case- \r\n\r\n{code:java}\r\nvar basewin = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\tlayout : 'vertical'\r\n});\r\n \r\nvar baseWinBtn = Ti.UI.createButton({\r\n\ttitle : 'Open listview window',\r\n\ttop : 60\r\n});\r\nbasewin.add(baseWinBtn);\r\n\r\nvar navWin = Titanium.UI.createNavigationWindow({\r\n\twindow : basewin\r\n})\r\n\r\nnavWin.open();\r\n\r\nbaseWinBtn.addEventListener('click', function() {\r\n\tvar indWin = Ti.UI.createWindow({\r\n\t\tbackgroundColor : 'red'\r\n\t});\r\n\r\n\t var rows = [];\r\n\t for (var i = 0; i < 40; i++) {\r\n\t var title = i ? 'Row '+ i : 'Close Window'\r\n\t rows.push({ properties: { title:title , backgroundColor: 'red', searchableText:title}});\r\n\t }\r\n\t var sb = Ti.UI.createSearchBar();\r\n\t indWin.add(sb);\r\n\r\n\t var ls = Ti.UI.createListSection({\r\n\t items: rows,\r\n\t sectionHeaderTitle: 'Section header',\r\n\t });\r\n\t var lv = Ti.UI.createListView({\r\n\t sections: [ls],\r\n\t searchView: sb,\r\n\t })\r\n\t \r\n\t indWin.add(lv);\r\n\r\n\tnavWin.openWindow(indWin);\r\n\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-26T23:33:21.000+0000", "updated": "2020-10-26T23:33:21.000+0000" }, { "id": "457400", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR- https://github.com/appcelerator/titanium_mobile/pull/12233", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-30T01:13:25.000+0000", "updated": "2020-10-30T01:13:25.000+0000" }, { "id": "458000", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. Waiting for Jenkins build.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-01-14T00:07:14.000+0000", "updated": "2021-01-14T00:07:14.000+0000" }, { "id": "458015", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to master for 10.0.0 target.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-01-15T20:08:34.000+0000", "updated": "2021-01-15T20:08:34.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }