{ "id": "63659", "key": "TIMOB-3027", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-02T03:20:16.000+0000", "created": "2011-04-15T03:35:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_media", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-10T10:57: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

If you put a VideoPlayer in a window on a tab, switch tabs while\r\nthe video is playing, and then come back to the first tab, the app\r\ncrashes.

\r\n
\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\nvar win = 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:win\r\n});\r\n\r\nvar videoContent = Titanium.Media.createVideoPlayer({\r\n        url: 'movie.mp4',\r\n        backgroundColor:'#111',\r\n        movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT,\r\n        scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL\r\n    });\r\n\r\nwin.add(videoContent);\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  color:'#999',\r\n  text:'I am Window 2',\r\n  font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n  textAlign:'center',\r\n  width:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\ntabGroup.addTab(tab1);  \r\ntabGroup.addTab(tab2);  \r\ntabGroup.open();\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS Bug: Titanium.Media.createVideoPlayer Crash", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "194773", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on 2.0.1GA2 with the iOS simulator, unable to reproduce this issue. Ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-14T16:40:50.000+0000", "updated": "2012-05-14T16:40:50.000+0000" }, { "id": "207802", "author": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "verified fixed with SDK - 2.2.0.v20120716092112 and iPhone 4 (5.1)", "updateAuthor": { "name": "etcarev", "key": "etcarev", "displayName": "Evgenii Tcarev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T13:37:01.000+0000", "updated": "2012-07-16T13:37:01.000+0000" }, { "id": "208082", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to fix customer tag added inadvertently", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-17T10:06:52.000+0000", "updated": "2012-07-17T10:06:52.000+0000" }, { "id": "211178", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-02T03:19:38.000+0000", "updated": "2012-08-02T03:19:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }