{ "id": "120016", "key": "TIMOB-15208", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-09-19T18:23:33.000+0000", "created": "2013-09-16T22:46:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "supportTeam" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-30T20:39:50.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Issue description\r\nIn Titanium SDK 3.1.3 or 3.2.0 customer is seeing an issue in a app where the TiUITabGroup is used.\r\n\r\nAll the windows that are added to the TabGroup gets invoked as soon as the app launches. \r\n\r\nh6.Expected result\r\nExpected scenario is only the first window in the TabGroup is expected to get called.\r\n\r\nh6.Actual result\r\nThe issue is in the latest SDK (3.1.3 or 3.2.0) and it works fine till any SDK version 3.1.2 GA or below to it.\r\n\r\nh6.\r\nAttached the sample app to debug.\r\n\r\nh6.Steps to reproduce the issue:\r\nOn Xcode to support iOS 7 (Xcode 5) choose the titanium SDK 3.1.3 or 3.2.0. Delete the project build folder in the workspace, clean the project, reset simulator content.\r\n\r\n# Add breakpoint in Win2.js & Win3.js (any line is fine)\r\n# Build the app in iOS 7 simulator.\r\n# When you run the app with above steps you can see the Win2.js and Win3.js is also get called as soon as app starts. But if you compile the same app using 3.1.2.GA or lesser than that (make sure that you are doing the above steps before compiling it with different sdk) Win2.js and Win3.js will not get called on app start-up.\r\n\r\nh6.Additional info\r\nSimilar issue happens if they replace TabGroup with coverflow also.", "attachment": [ { "id": "42533", "filename": "Sample iOS 7 app.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T22:46:32.000+0000", "size": 297170, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS7: All windows in TabGroup gets invoked at app start-up", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "h6.Dev environment details:\r\nBoth on Appcelerator Studio and Titanium Studio \r\niOS version: 7.0 beta w/ xcode: GM seed\r\nTiSDK 3.1.3.v20130913160104 & 3.2 CI", "comment": { "comments": [ { "id": "271385", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~srahim] FYI", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T22:49:16.000+0000", "updated": "2013-09-16T22:49:16.000+0000" }, { "id": "271954", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was a conscious design change where we process the rootWindows url contexts as soon as possible for a smoother UI transition when switching tabs. If you have a use case which requires this functionality, please let us know.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-19T18:23:19.000+0000", "updated": "2013-09-19T18:23:19.000+0000" }, { "id": "272165", "author": { "name": "martinvm", "key": "martinvm", "displayName": "Martin van Mierloo", "active": true, "timeZone": "Europe/Berlin" }, "body": "IMO this shouldn't be in a minor version and should be mentioned explicitly in the release notes. It took me hours to find out why my app stopped working and why it suddenly was so slow. My use case is that I have 4 tabs in a tab group with 4 seperate .js files. Most windows do one or more API calls and calculations on load and some repeat this with the focus event. This was OK and the interaction and events were dealing with this. But SDK 3.1.3 resulted in strange behavior and the error mentioned in this issue. It took me some hours to change the code and I have to re-test the entire app.\r\nPlus what are possible performance risks with this change?", "updateAuthor": { "name": "martinvm", "key": "martinvm", "displayName": "Martin van Mierloo", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-09-20T18:34:03.000+0000", "updated": "2013-09-20T18:34:03.000+0000" }, { "id": "272582", "author": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm running into the same issue. I want the first tab to load quickly. The user may not even see the remaining tabs. Is there an option to get the old behavior?", "updateAuthor": { "name": "gorilla128", "key": "gorilla128", "displayName": "Gordon Illan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T23:59:50.000+0000", "updated": "2013-09-23T23:59:50.000+0000" }, { "id": "272637", "author": { "name": "jamez", "key": "jamez", "displayName": "no name", "active": true, "timeZone": "Europe/London" }, "body": "We are running into the same issue as well. In our app tab1 win1 is the main menu, which needs to load fast. The other tabs (Contact Us, etc) are rarely, if ever opened. Is there an option to get the old behaviour?", "updateAuthor": { "name": "jamez", "key": "jamez", "displayName": "no name", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-24T10:46:48.000+0000", "updated": "2013-09-24T10:46:48.000+0000" }, { "id": "416369", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\". There has been no update for a number of years. If there is any problem, please open a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T20:39:50.000+0000", "updated": "2017-03-30T20:39:50.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }