{ "id": "173090", "key": "TIMOB-26881", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-03-26T17:11:42.000+0000", "created": "2019-03-06T10:22:39.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "iOS" ], "versions": [], "issuelinks": [], "assignee": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-26T17:11:42.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": "When using the swipe to close functionality in iOS and releasing your finger an inch away from the edge of the screen, it makes the content of current window disappear. Seems to only be a problem when using the SplitWindow. I can reproduce the issue using the following code:\r\n\r\n{code:java}\r\nvar win2 = Ti.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Ti.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n title: 'Open SplitWindow'\r\n});\r\n\r\nvar detail = Ti.UI.createWindow({ backgroundColor: 'white',swipeToClose:false });\r\nvar label1 = Ti.UI.createLabel({ text: 'Detail View' });\r\ndetail.add(label1);\r\n\r\nvar master = Ti.UI.createWindow({ backgroundColor: 'gray',swipeToClose:false });\r\nvar label2 = Ti.UI.createLabel({ text: 'Master View' });\r\nmaster.add(label2);\r\n\r\nvar splitWin = Ti.UI.iOS.createSplitWindow({\r\n detailView: detail,\r\n masterView: master\r\n});\r\n\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(splitWin, {animated:true});\r\n});\r\nwin2.add(button);\r\n\r\nwin1.open();\r\n{code}\r\n", "attachment": [ { "id": "66223", "filename": "Simulator Screen Shot - iPad Air - 2019-03-06 at 11.17.45.png", "author": { "name": "mavno", "key": "mavno", "displayName": "Martin N", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-06T10:18:22.000+0000", "size": 81695, "mimeType": "image/png" }, { "id": "66222", "filename": "Simulator Screen Shot - iPad Air - 2019-03-06 at 11.17.51.png", "author": { "name": "mavno", "key": "mavno", "displayName": "Martin N", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-06T10:18:22.000+0000", "size": 85236, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS SplitWindow swipeToClose problem", "creator": { "name": "mavno", "key": "mavno", "displayName": "Martin N", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "mavno", "key": "mavno", "displayName": "Martin N", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS: 10.14.3\r\nTi SDK: 7.5.1.GA\r\nAppc CLI: 7.0.9\r\nXCode: 10.1", "comment": { "comments": [ { "id": "446589", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~mavno], I tested your sample code with SDK 7.5.1.GA. And I was able to reproduce the issue you described. So, click on \"Open SplitWindow\" in the red window opens the white window with \"Detail View\" text in the middle. Now, try swiping right but not releasing the touch and not finishing the swipe will cause the \"Detail View\" text to disappear. This is the issue. Tested with SDK 7.5.1.GA on iOS 12.1 simulator. Moving to engineering. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-06T17:08:05.000+0000", "updated": "2019-03-06T17:08:05.000+0000" }, { "id": "446747", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mavno] If you see the [doc|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.SplitWindow], it is mentioned that 'The SplitWindow is a top-level window and cannot be contained within another window or view.'.\r\nSo opening SplitWindow inside navigation window is not correct way.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-11T22:39:23.000+0000", "updated": "2019-03-11T22:39:23.000+0000" }, { "id": "447161", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "'The SplitWindow is a top-level window and cannot be contained within another window or view.'.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-26T17:11:42.000+0000", "updated": "2019-03-26T17:11:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }