{ "id": "173401", "key": "TIMOB-26946", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-04-25T12:53:29.000+0000", "created": "2019-03-28T08:01:54.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule" ], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-04-25T12:53:29.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": "To be reproducible easily on KitchenSink-v2: Launch the app, kill it from multitasking and quickly reopen it. On native apps, the launch screen is shown again. On Titanium, it shows a screenshot of the last screen visible. Most interesting: If you wait a few seconds, it's not showing the last screen and behaves correctly. I suspect this being related to the kroll-cleanup taking longer than expected, but if this could be investigates, we'd greatly appreciate it!\r\n\r\n*EDIT*: Busted! [This|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m#L1014-L1016] will cause it. I suspect now that kroll-thread is fully removed, it could either be removed completely or be replaced by less harming dispatch-queues\r\n\r\n*EDIT 2*: Removing it indeed fixed the issue for our test-app. No crashes detected either.\r\n\r\n*EDIT 3*: The code was added 9 (!) years ago ([here|https://github.com/appcelerator/titanium_mobile/commit/cfa5485bc08af28fd6213b8f74fd681f6b43bfd2#diff-3808dfd4ad9381dd993eae7568b09ac4R341]) and was related to kroll stability. Filing a PR now.", "attachment": [], "flagged": false, "summary": "iOS: Launch screen shows last screen when quickly relaunching the app", "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": [ { "id": "447319", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull: https://github.com/appcelerator/titanium_mobile/pull/10812", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-28T08:13:42.000+0000", "updated": "2019-03-28T08:13:42.000+0000" }, { "id": "447838", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR passed. waiting on Jenkins.", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-04-22T18:52:58.000+0000", "updated": "2019-04-22T18:52:58.000+0000" }, { "id": "447841", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged. ", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-04-22T21:05:42.000+0000", "updated": "2019-04-22T21:05:42.000+0000" }, { "id": "447954", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified in SDK Version 8.1.0.v20190423134840\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10812", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-25T12:53:20.000+0000", "updated": "2019-04-25T12:53:20.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }