{ "id": "100672", "key": "TIMOB-10864", "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": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14127", "description": "Sprint 2012-19 API", "name": "Sprint 2012-19 API", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-14T17:18:57.000+0000", "created": "2012-09-09T23:28:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_window", "qe-testadded", "regression" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-26T21:31:17.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": "h2. Problem\r\nWhile playing video (local or url) on fullscreen, mainWindow is rotated back to portrait mode after the video is scaled back down:\r\n\r\n- Screenshot, before fullscreen/minimize: [http://perso.iloadev.fr/before.png]\r\n- Screenshot, after: [http://perso.iloadev.fr/after.png]\r\n\r\nh3.Steps to reproduce\r\n1. wait for video to load\r\n2. play it & put it on full screen (with pinch or button control)\r\n3. Then, minimise the video - (see the \"mainWin\" has been resized)\r\n\r\nh2. Test case\r\n{code:lang=javascript|title=app.js}\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nvar mainWin = Titanium.UI.createWindow({\r\n orientationModes:[Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT],\r\n exitOnClose:true,\r\n navBarHidden:true,\r\n fullscreen:true,\r\n title:'Slide Box',\r\n backgroundColor:'#ffffff',\r\n zIndex:0\r\n});\r\n \r\nvar VideoPlayer=Ti.Media.createVideoPlayer({\r\n zIndex:3,\r\n top:350,\r\n left:300,\r\n url:\"\",\r\n backgroundColor:\"#000000\",\r\n mediaControlStyle:Titanium.Media.VIDEO_CONTROL_EMBEDDED,\r\n scalingMode:Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n width:308,\r\n height:208,\r\n visible:true,\r\n url:\"http://movies.apple.com/media/us/ipad/2010/tours/apple-ipad-video-us-20100127_r848-9cie.mov\"\r\n});\r\nmainWin.add(VideoPlayer);\r\n \r\nmainWin.open();\r\n{code}\r\n\r\nh2. Logs\r\n{code:lang=none|title=console}\r\nNo specifics logs to show here\r\n{code}\r\n\r\nh2. Community forum thread\r\n[http://developer.appcelerator.com/question/142048/nice-videoplayer-ios-bug-with-212]", "attachment": [], "flagged": false, "summary": "iOS: While playing Video if scaled back down the mainWindow is resized", "creator": { "name": "yoannwyffels", "key": "yoannwyffels", "displayName": "Yoann WYFFELS", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "yoannwyffels", "key": "yoannwyffels", "displayName": "Yoann WYFFELS", "active": true, "timeZone": "Europe/Paris" }, "environment": "Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777)\r\nPlatform & version: iOS 5.x\r\nDevice Details: iOS iPad simulator, iPad, iPad2, iPad3\r\nHost Operating System: OS X 10.6.8\r\n", "comment": { "comments": [ { "id": "218640", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Moved to Titanium main project to dig into it.\r\n\r\nRegression, works as expected in 2.0.1.GA2, the glitch is noticeable in current release 2.1.2.GA", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T08:49:56.000+0000", "updated": "2012-09-12T08:49:56.000+0000" }, { "id": "219094", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2959", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T15:41:10.000+0000", "updated": "2012-09-14T15:41:10.000+0000" }, { "id": "219130", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull merged", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T17:18:57.000+0000", "updated": "2012-09-14T17:18:57.000+0000" }, { "id": "219232", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nTitanium Studio: 2.1.2.201208301612\r\nTitanium SDK: 2.1.3.v20120915120319, 3.0.0.v20120915105712\r\nDevice: iPad Simulator, iPad2(v5.1), iPad3(v6.0)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T04:51:21.000+0000", "updated": "2012-09-17T04:51:21.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }