Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2726] regression: open > hide > close window loses focus on parent.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-06-10T04:11:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios
Reporterjrn
AssigneeTony Guntharp
Created2011-05-26T04:55:01.000+0000
Updated2016-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(); }

Comments

  1. Paul Dowsett 2011-05-28

    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
  2. Paul Dowsett 2011-06-10

    No response from user after request for information. Marking resolved / incomplete.
  3. Paul Dowsett 2011-08-16

    Closed after 30 days of inactivity.

JSON Source