{ "id": "171946", "key": "TIMOB-26222", "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": "20214", "description": "", "name": "Release 7.2.1", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-07-31T18:08:19.000+0000", "created": "2018-07-20T13:28:50.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "tableview" ], "versions": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-08T21:37:37.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When trying to re-open a window previously closed the app crashes. This didn't happen on 7.2.0.GA.\r\n\r\nAs per example above, click the button, close the window then click the button again.\r\n\r\n{code}\r\nvar win2 = Ti.UI.createWindow({backgroundColor: 'red'});\r\n\r\nvar win1 = Ti.UI.createWindow({backgroundColor: 'white'});\r\nvar button = Ti.UI.createButton({title: \"Click me\", color: \"#000\"});\r\nbutton.addEventListener('click', function(){\r\n win2.open();\r\n});\r\nwin1.add(button);\r\nwin1.open();\r\n{code}\r\n\r\nQuestion is. Which behaviour is the expected behaviour. Not being able to reopen a window, or being able to reopen a window", "attachment": [ { "id": "65367", "filename": "crashlog.txt", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-20T13:28:04.000+0000", "size": 37841, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: App crashes when trying to re-open a closed window\t", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 7.3.0v20180703051211\r\nTested on Nexus5x Android 7.0.1", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 }, { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "439514", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10195\r\n7_3_X: https://github.com/appcelerator/titanium_mobile/pull/10203\r\n7_2_X: https://github.com/appcelerator/titanium_mobile/pull/10197", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-07-26T20:36:51.000+0000", "updated": "2018-07-26T20:36:51.000+0000" }, { "id": "439643", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi guys,\r\nI tested this with latest 7.3.0RC and app still can crash - not so often, but can(I tested it with three rows in tableview, each row opens separate window, I closed each window using back button). I can open single window 15 times in a row but if I switch quickly between all of them(1-2-1-2-3-1-2-1 f.e), app crash.\r\nCrash log is here: [crashlog|https://1drv.ms/t/s!AqYLRbx94HRJmhMXtJUMXYQNtd6A]\r\n\r\nTested on Nexus 5X, Android 7.0.1, Ti SDK 7.3.0.v20180731101200, macOS High Sierra.\r\nThanks", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-08-01T08:31:36.000+0000", "updated": "2018-08-01T08:33:59.000+0000" }, { "id": "439661", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~max87] Thanks for your feedback, that issue will be fixed by https://github.com/appcelerator/titanium_mobile/pull/10221", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-01T20:58:26.000+0000", "updated": "2018-08-01T20:58:26.000+0000" }, { "id": "440595", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.4.0.v20180807122127, 7.3.0.v20180807095741 & 7.2.1.v20180726150551.\r\n\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-08T21:37:28.000+0000", "updated": "2018-08-08T21:37:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }