[AC-2726] regression: open > hide > close window loses focus on parent.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2011-06-10T04:11:33.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | ios |
| Reporter | jrn |
| Assignee | Tony Guntharp |
| Created | 2011-05-26T04:55:01.000+0000 |
| Updated | 2016-03-08T07:47:37.000+0000 |
Description
I am using a 'worker' window, for a separate thread to download and sync new data with the app.
I 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.
This 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.
Code to reproduce:
In an active window:
var newWin = Ti.UI.createWindow({url:'worker.js'});
newWin.open();
newWin.hide();
and in worker.js
if (doSomeStuff()){
Ti.UI.currentWindow.close();
}
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). Please read the [Submitting Bug Reports](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports) guide before raising tickets. Thank you
No response from user after request for information. Marking resolved / incomplete.
Closed after 30 days of inactivity.