Titanium JIRA Archive
Appcelerator Community (AC)

[AC-729] Window Focus event Fire some times fire and some times it doesn't. Even app get hangs up and next window is not opening.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2015-08-13T23:48:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsDocumentation, Titanium SDK & CLI
Labelsalert, alertdialog, application, bug, event, eventlistener, focus, hangs, iOS, iOS8, issue
ReporterMoizChhatriwala
AssigneeRadamantis Torres-Lechuga
Created2015-05-11T05:34:42.000+0000
Updated2016-03-08T07:36:59.000+0000

Description

My application was running good with titanium sdk 3.4.0, but after updating the titanium SDK 3.5.1 and Titanium SDK 4.0 Beta, both version I am facing the same problem. Focus event some time fire for the window and some time it doesn't, I has created the application with JS pattern using Ti.UI.current window object and that application is created 1.5 years before, I always make the app compatible to the newer sdk which gets launch up. But with current sdk app is completely get disturbed and has lots of bugs, only because of the problem that window Focus event doesn't fire properly, due to this window get hangs up. I have created the sample application which can exactly reproduce this issue. Request for the appcelerator team to take this issue very seriously. Step To reproduce the issue: Run the application on iOS 1. Click on Open Blue Window. 2.Alert dialog will appear, click on Confirm. 3. Second window In blue color will get open. 4. On second window on top right navigation bar click on "Open third window" 5. On 3 window with pink color will get open, click on "Close pink window" Now when you go back to second window, second window focus will not fire, and then you navigate to first window, first window focus will not fire. Even the application will get hang, all the buttons will stop working and even next window doesn't get opens up on click of "open click window.

Attachments

FileDateSize
DemoNavigationApp.zip2015-05-11T05:36:20.000+000028436

Comments

  1. Lorenzo 2015-08-13

    SDK 4.0.0.GA same problem, are there any news about it? My app depends completely on the focus event to update the content of the window according to different criteria. Please give us some updates. Lorenzo
  2. Radamantis Torres-Lechuga 2015-08-13

JSON Source