[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 Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2015-08-13T23:48:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Documentation, Titanium SDK & CLI |
Labels | alert, alertdialog, application, bug, event, eventlistener, focus, hangs, iOS, iOS8, issue |
Reporter | MoizChhatriwala |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-05-11T05:34:42.000+0000 |
Updated | 2016-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
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