{ "id": "116893", "key": "TIMOB-14490", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-07-23T05:08:04.000+0000", "created": "2013-07-04T11:05:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "ipad", "mobile", "mobilesdk", "qe-closed-3.2.3", "titanium" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "30346", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "103113", "key": "TIMOB-11378", "fields": { "summary": "iOS: ButtonBar makes the app slower", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-21T10:27:57.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": "Application live memory is getting increased whenever we open the popover view in iPad.\r\n\r\nTest Case:\r\n\r\n1: Use the below mentioned code.\r\n2: Put it on app.js file of any new project.\r\n3: Run the application and use instrument to analyze the application for leaks.\r\n4: Keep on doing open and hide of pop over view and check the live bites.\r\n5: live bites go on increasing.\r\n\r\n*Sample code*\r\n{code}\r\nvar window = Ti.UI.createWindow();\r\nvar openButton = Titanium.UI.createButton({title:'Open'});\r\n\r\nwindow.add(openButton);\r\n\r\nopenButton.addEventListener('click', function (e) {\r\n\r\n var closeButton = Titanium.UI.createButton({title:'Cancel'});\r\n var popover = Ti.UI.iPad.createPopover({ height:300, width:300,\r\n title:'Add a Walk In', leftNavButton:closeButton});\r\n var tabbedBar = Titanium.UI.iOS.createTabbedBar({\r\n labels:['One', 'Two', 'Three'],\r\n backgroundColor:'#336699',\r\n top:50,\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n height:25,\r\n width:200\r\n });\r\n popover.add(tabbedBar);\r\n\r\n popover.show({\r\n view:openButton, animated:true\r\n });\r\n\r\n closeButton.addEventListener('click', function (e) {\r\n tabbedBar.hide();\r\n popover.remove(tabbedBar);\r\n tabbedBar = null;\r\n popover.hide();\r\n popover = null;\r\n });\r\n\r\n});\r\n\r\nwindow.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: iPad popover view memory leak when opening/closing popover", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile SDK, iOS, iPad", "comment": { "comments": [ { "id": "262779", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Same symptoms. Same UI Control", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T05:07:51.000+0000", "updated": "2013-07-23T05:07:51.000+0000" }, { "id": "301724", "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 memory leak has been noticed when opening/closing popover on iPad. Also as its a duplicate ticket , the main ticket TIMOB-11378 is also fixed and closed. Hence closing this ticket as FIXED.", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-21T10:27:08.000+0000", "updated": "2014-04-21T10:27:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }