{ "id": "65796", "key": "AC-2726", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-06-10T04:11:33.000+0000", "created": "2011-05-26T04:55:01.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I am using a 'worker' window, for a separate thread to download and sync new data with the app.\nI do this by opening a new window, hiding it and after it's done, closing it; so the user doesn't experience any hiccups and it happens async.\nThis works fine in 1.6.1 but in 1.7.0RC1 the whole app loses focus and I can't even tap on the tabbar or anywhere else, force close is the only way to go.\n\nCode to reproduce:\n\nIn an active window:\n\nvar newWin = Ti.UI.createWindow({url:'worker.js'});\nnewWin.open();\nnewWin.hide();\n\nand in worker.js\n\nif (doSomeStuff()){\n Ti.UI.currentWindow.close();\n}", "attachment": [], "flagged": false, "summary": "regression: open > hide > close window loses focus on parent.", "creator": { "name": "jrn", "key": "jrn", "displayName": "jrn", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jrn", "key": "jrn", "displayName": "jrn", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS, 1.7.0RC1", "comment": { "comments": [ { "id": "134423", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "in order for us to progress this issue, edit your ticket to include a proper [Use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases].\n\nPlease read the [Submitting Bug Reports|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports] guide before raising tickets.\n\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-05-28T03:16:59.000+0000", "updated": "2011-05-28T03:16:59.000+0000" }, { "id": "156420", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "No response from user after request for information. Marking resolved / incomplete.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-10T04:11:33.000+0000", "updated": "2011-06-10T04:11:33.000+0000" }, { "id": "163072", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closed after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T16:44:39.000+0000", "updated": "2011-08-16T16:44:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }