{ "id": "164973", "key": "TIMOB-24212", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-12-14T14:05:44.000+0000", "created": "2016-12-12T10:13:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "resume", "run-on-main-thread" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-20T19:13:44.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": "*Problem*\r\nUsing an empty application with \r\n{{true}}\r\nset in tiapp.xml. It does not handle the resume properly. The application freezes after a resume of the application by pressing the back button on the android device and starting it again.\r\n\r\n_Actual behaviour_: \r\n# Start the application\r\n# Shows the startup screen \r\n# Shows the label \"Hello world\"\r\n# click on back button of the device\r\n# Application goes in background state and closes it\r\n# Start the application again\r\n# Shows the startup screen (Red titanium / appcelerator screen)\r\n# Keeps showing the startup screen, the label \"Hello world\" is not shown\r\n\r\n_Expected behaviour_:\r\n# Start the application\r\n# Shows the startup screen \r\n# Shows the label \"Hello world\"\r\n# click on back button of the device\r\n# Application goes in background state and closes it\r\n# Start the application again\r\n# Shows the startup screen \r\n# Shows the label \"Hello world\"\r\n\r\n*Test case*\r\n[^tiapp.xml]: includes\r\n\r\n...\r\n true\r\n...\r\n\r\n\r\n[^index.js]:\r\nvar win = Ti.UI.createWindow();\r\nvar label = Ti.UI.createLabel({ text: \"Hello World\" });\r\nwin.add(label);\r\nwin.open();\r\n\r\n*Community Discussion*\r\nIn Jira AC-4588 is the same topic described.", "attachment": [ { "id": "61058", "filename": "index.js", "author": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-12T10:10:08.000+0000", "size": 116, "mimeType": "text/javascript" }, { "id": "61059", "filename": "tiapp.xml", "author": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-12T10:03:34.000+0000", "size": 2043, "mimeType": "text/xml" } ], "flagged": false, "summary": "Android: run-on-main-thread - can not resume app", "creator": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "chris35", "key": "chris35", "displayName": "Christoph Eck", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK version: Titanium 5.5.1 (2016/09/27 05:39 b18727f)\r\nTitanium CLI Version: 5.0.9\r\nJavascript Engine: ?\r\nPlatform & version: Android 6.0.1, API 23\r\nDevice Details: physical device Samsung SM-G920F (Galaxy S6)\r\nHost Operating System: OS X 10.12.1 64bit\r\nTitanium Studio version: 4.7.1.201609100950\r\nTargeting Android SDK API: 23\r\nBuilding for the following architectures: armeabi, armeabi-v7a, x86", "closedSprints": [ { "id": 770, "state": "closed", "name": "2016 Sprint 25 SDK", "startDate": "2016-12-03T01:53:07.491Z", "endDate": "2016-12-17T01:53:00.000Z", "completeDate": "2016-12-21T03:19:43.884Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "403370", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-23901, already fixed in {{6.0.0}}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-14T14:05:44.000+0000", "updated": "2016-12-14T14:06:36.000+0000" }, { "id": "404966", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-20T19:13:39.000+0000", "updated": "2017-01-20T19:13:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }