{ "id": "124172", "key": "TIMOB-16086", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-03-13T22:26:54.000+0000", "created": "2013-12-24T15:32:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "35014", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "125177", "key": "TIMOB-16279", "fields": { "summary": "Change activity lifescycle events from synchronous to asynchronous", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "34128", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "124219", "key": "TIMOB-16131", "fields": { "summary": "Can't launch app on android device with Run option", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34079", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "112770", "key": "TIMOB-13539", "fields": { "summary": "Android: intermittent Packaging succeeds, app freezes at splash screen", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T05:25:09.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": "Steps to Reproduce\r\n1. Create a new app\r\n2. Run the app in debug mode on device\r\n3. From Studio, terminate the debug session\r\n\r\nActual Result\r\nThe app is frozen on the splash screen. i.e. if you press back, it will freeze and prompt user to force quit since it's non-responsive\r\n\r\nExpected Result\r\nThe app goes to the splash screen and you are able to back out of it. This is the behavior in 3.1.3.GA.", "attachment": [], "flagged": false, "summary": "Android: Application hangs on splash screen after terminating debugging from studio", "creator": { "name": "marco.brendolini", "key": "marco.brendolini", "displayName": "Marco Brendolini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "marco.brendolini", "key": "marco.brendolini", "displayName": "Marco Brendolini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.2.0", "comment": { "comments": [ { "id": "285819", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this problem in a little different scenario than described above. \r\n\r\nSteps to reproduce\r\n------------------\r\n1. Create a Classic Titanium Mobile project using Titanium Studio 3.2.0 GA \r\n2. Copy and paste the code below in app.js file\r\n3. Start debugging this application on an Android device (4.2.2). Debugging works fine. \r\n4. Terminate the debugging from Studio \r\n5. Step 4 should result in the termination of application on the device but the application goes back to the splash screen and gets stuck there. \r\n\r\nAdditional Information\r\n----------------------\r\nIf I debug the same application again then the applications gets installed with no problem. Basic problem is that the application gets stuck when debugging is terminated.\r\n\r\nHere is the application code to reproduce this problem:\r\n\r\n{code}\r\nTi.API.info('This will print only once, as expected');\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff',\r\n modal: false // ensure heavyweight window in all SDKs\r\n});\r\nvar numOpens = 0;\r\nvar label1 = Titanium.UI.createLabel({\r\n color:'#999',\r\n font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n textAlign:'center',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.SIZE\r\n});\r\n \r\nwin1.add(label1);\r\nwin1.addEventListener('open', function() {\r\n numOpens++;\r\n label1.text = 'Window was opened ' + numOpens + ' times'; \r\n});\r\n \r\nwin1.addEventListener('close', function() {\r\n Ti.API.info('window was closed');\r\n});\r\nwin1.open();\r\n{code}", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T06:29:38.000+0000", "updated": "2013-12-27T21:20:32.000+0000" }, { "id": "285820", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mxia] Please change the reporter back to Marco Brendolini.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T06:30:34.000+0000", "updated": "2013-12-26T06:30:34.000+0000" }, { "id": "285871", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pinnamuri] Could you help investigate the problem to see if it's Studio or SDK issue? Thanks.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T18:04:18.000+0000", "updated": "2013-12-26T18:04:18.000+0000" }, { "id": "285891", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce the splash screen hang issue if the app is run on device after debbugging on Android device. When the same app is run with 3.1.3.GA SDK, the app run without any issues (even after debugging it). However, for 3.2.0.GA SDK, the app hung up on splash screen if it is run after debugging on device.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T21:15:24.000+0000", "updated": "2013-12-26T21:15:36.000+0000" }, { "id": "285987", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as duplicate of linked issue.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T20:00:37.000+0000", "updated": "2013-12-27T20:00:37.000+0000" }, { "id": "286006", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am reopening this ticket as I believe it is not a duplicate of TIMOB-15306. TIMOB-15306 is about going from debugging on device followed by distribution build. In my reproduction steps listed above, there is no distribution build and I can reproduce it very easily while debugging a simple application. No second build required.\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T20:57:41.000+0000", "updated": "2013-12-27T20:57:41.000+0000" }, { "id": "286008", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ritu, can you please edit the main ticket to clarify the reproduction steps. I'm also unclear if you HAVE to use your application code, or if you can reproduce it with any application?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T21:01:26.000+0000", "updated": "2013-12-27T21:01:26.000+0000" }, { "id": "286014", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] I have clarified the steps above so let me know if you need additional information. \n\nI have not tried multiple projects so cannot say for sure if it reproduces with ANY application but it reproduces consistently with the simple code provided in my comment.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T21:22:19.000+0000", "updated": "2013-12-27T21:22:19.000+0000" }, { "id": "286352", "author": { "name": "navyseal", "key": "navyseal", "displayName": "João Serra", "active": true, "timeZone": "Europe/London" }, "body": "Luis Ferreira found out that if you change application ID the app can run again in normal mode. \r\nAlso uninstalling and re-installing the application does not seems to fix it.", "updateAuthor": { "name": "navyseal", "key": "navyseal", "displayName": "João Serra", "active": true, "timeZone": "Europe/London" }, "created": "2013-12-31T10:38:20.000+0000", "updated": "2013-12-31T10:38:20.000+0000" }, { "id": "286615", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot seem to reproduce with the latest 3_2_X build . Could have been fixed TIMOB-16018\n\nTested on Android 4.4.2 nexus 5 TiSDK 3.2.1 (git hash e1ec944d8609d7dd7f4557e27d1f9454f36e7ec1)\nti cli 3.2.0.GA", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T19:52:56.000+0000", "updated": "2014-01-03T19:52:56.000+0000" }, { "id": "286634", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've updated the ticket to reflect the behavior Ritu is seeing.\n\nI was able to reproduce the issue in 3.2.0.GA. The behavior is slightly different than 3.1.3.GA, but is not very severe.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-03T22:03:10.000+0000", "updated": "2014-01-03T22:03:10.000+0000" }, { "id": "286660", "author": { "name": "luispedro.ezy", "key": "luispedro.ezy", "displayName": "Luis Pedro Ferreira", "active": true, "timeZone": "Europe/London" }, "body": "I discovered that if I manually delete the file com.myappid/deploy.json in de device after deploy, I can normally run the app again without any issues.", "updateAuthor": { "name": "luispedro.ezy", "key": "luispedro.ezy", "displayName": "Luis Pedro Ferreira", "active": true, "timeZone": "Europe/London" }, "created": "2014-01-04T07:18:50.000+0000", "updated": "2014-01-04T07:18:50.000+0000" }, { "id": "286939", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested with SDK: 3.2.1.v20140106195644 and 3.3.0.v20140106195650 using environment:\n\nAppcelerator Studio: 3.2.1.201401061716\nacs@1.0.11\nalloy@1.3.1-beta\nnpm@1.3.2\ntitanium@3.2.0\ntitanium-code-processor@1.1.0\nMac OSX 10.9 Mavericks\nDevice: Nexus7(4.4.2)\n\nResult: On terminating the debug session, app goes to the splash screen. when we clicked two times back button on Nexus 7(4.2.2) as mentioned in the first comment, we are able to back out of it.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-07T10:47:07.000+0000", "updated": "2014-01-07T10:47:07.000+0000" }, { "id": "292208", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This ticket should be resolved when TIMOB-16279 is fixed.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-10T19:31:15.000+0000", "updated": "2014-02-10T19:31:15.000+0000" }, { "id": "297137", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-13T22:26:54.000+0000", "updated": "2014-03-13T22:26:54.000+0000" }, { "id": "415246", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T05:25:09.000+0000", "updated": "2017-03-23T05:25:09.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }