{ "id": "147694", "key": "AC-729", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-08-13T23:48:34.000+0000", "created": "2015-05-11T05:34:42.000+0000", "labels": [ "alert", "alertdialog", "application", "bug", "event", "eventlistener", "focus", "hangs", "iOS", "iOS8", "issue" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:36:59.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": "14545", "name": "Documentation" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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.\r\nFocus 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.\r\nBut 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.\r\nI have created the sample application which can exactly reproduce this issue.\r\nRequest for the appcelerator team to take this issue very seriously.\r\nStep To reproduce the issue:\r\nRun the application on iOS\r\n1. Click on Open Blue Window.\r\n2.Alert dialog will appear, click on Confirm.\r\n3. Second window In blue color will get open.\r\n4. On second window on top right navigation bar click on \"Open third window\"\r\n5. On 3 window with pink color will get open, click on \"Close pink window\"\r\nNow 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.\r\nEven 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.", "attachment": [ { "id": "55314", "filename": "DemoNavigationApp.zip", "author": { "name": "moizchhatriwala", "key": "moizchhatriwala", "displayName": "MoizChhatriwala", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-11T05:36:20.000+0000", "size": 28436, "mimeType": "application/zip" } ], "flagged": false, "summary": "Window Focus event Fire some times fire and some times it doesn't. Even app get hangs up and next window is not opening.", "creator": { "name": "moizchhatriwala", "key": "moizchhatriwala", "displayName": "MoizChhatriwala", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "moizchhatriwala", "key": "moizchhatriwala", "displayName": "MoizChhatriwala", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Sdk 3.5.1 & Beta 4.0 with iOS", "comment": { "comments": [ { "id": "359786", "author": { "name": "ls", "key": "ls", "displayName": "Lorenzo", "active": true, "timeZone": "Europe/Rome" }, "body": "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.\r\nPlease give us some updates.\r\n\r\nLorenzo", "updateAuthor": { "name": "ls", "key": "ls", "displayName": "Lorenzo", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-08-13T09:05:35.000+0000", "updated": "2015-08-13T09:05:35.000+0000" }, { "id": "359864", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-08-13T23:48:34.000+0000", "updated": "2015-08-13T23:48:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }