{ "id": "92278", "key": "TIMOB-9220", "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": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-26T20:23:02.000+0000", "created": "2012-05-24T06:45:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "module_analytics", "qe-closed-3.2.3", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-28T18:58:04.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "h6.Issue\r\nIt looks like by very first time tiapp.xml enabled flag element (true) causes performance issues.\r\n\r\nh6.Tested on\r\niOS simulator\r\niPod 5.1\r\n\r\nh6.Steps to reproduce\r\n1. Create new project at Studio IDE\r\n2. Goto tiapp.xml - true set automatically\r\n3. Build & Run app\r\n4. Press home button\r\n5. Return to app - on resume a lag is potentially noticeable \r\n\r\nh6.Work around\r\nSet flag manually as false when in development mode\r\n\r\nh6.Repro sequence\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\n\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 2',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\n\r\n\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Ti API: Analytics enabled by default causes performance issues", "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": "Product: Mobile\r\nTitanium SDK: Mobile 2.0.1\r\nPlatform OS: iOS\r\nPlatform OS Version: 5.1", "comment": { "comments": [ { "id": "256451", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h6.Associated Q&A thread\nhttp://developer.appcelerator.com/question/135067/unable-to-disable-analytics-after-adding-any-module", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-06T17:29:24.000+0000", "updated": "2013-06-06T17:29:24.000+0000" }, { "id": "298853", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as fixed. Needs confirmation by QE before closing.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-26T20:23:02.000+0000", "updated": "2014-03-26T20:23:02.000+0000" }, { "id": "301721", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified as FIXED using :\r\nOSX: 10.9.2\r\nXcode:5.1.1\r\nacs@1.0.14\r\nalloy@1.3.1\r\nnpm@1.3.2\r\ntitanium@3.2.3-beta2\r\ntitanium-code-processor@1.1.1-beta1\r\nMobileSDK :3.2.3.v20140418101718 ,3.3.0.v20140418162516\r\nAppcelerator Studio, build: 3.2.3.201404162038\r\nDevices Used : iPhone 5s (7.1) ; iPod touch (7.1)\r\n\r\nNo lag has been noticed when true is set in Tiapp.xml . Hence closing this ticket as FIXED.", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-21T09:30:54.000+0000", "updated": "2014-04-21T09:30:54.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }