{ "id": "93516", "key": "TIMOB-9653", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-07-18T22:13:11.000+0000", "created": "2012-06-19T21:19:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-18T22:13:11.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The video control not properly positioned after changing orientation from Landscape to Portrait.\r\n\r\nNot a regression. This issue occurs as far as 1.8.2\r\n\r\nThe issue does not seem to occur on Android ICS. Tested with Galaxy Nexus (V4.0.2) on which the issue does not occur.\r\n\r\nSteps to reproduce:\r\n1. Create an application with code below.\r\n2. Launch the application with device in landscape mode\r\n3. While video is playing, tap on the video to see the video control.\r\n4. While the video control is shown, rotate the device to Portrait orientation\r\n\r\nActual: The video control is shown positioned in the middle of the screen and is truncated from the right. (Refer to attached screenshot)\r\n\r\nExpected: The video control should be shown at the bottom of the video\r\n\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar options = {\r\n\turl: 'movie.mp4',\r\n\tbackgroundColor: '#111',\r\n\tscalingMode: Titanium.Media.VIDEO_SCALING_MODE_FILL,\r\n\tmovieControlStyle:Titanium.Media.VIDEO_CONTROL_DEFAULT \r\n};\r\n\r\nvar activeMovie = Titanium.Media.createVideoPlayer(options);\r\nwin.add(activeMovie);\r\n\r\nactiveMovie.play();\r\n\r\nwin.addEventListener('close', function() {\r\n\tactiveMovie.stop();\r\n});\r\nwin.open();\r\n{code}", "attachment": [ { "id": "28532", "filename": "VideoPlayerControl.png", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-19T21:19:01.000+0000", "size": 802498, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: VideoPlayer: The video control not positioned correctly after orientation change", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.0.201206172244\r\nTitanium SDK: 2.1.0.v20120618154152\r\nAndroid Device: Android Tab (V3.2), Android 2.2\r\nRuntime: v8", "comment": { "comments": [ { "id": "241116", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem not occure in android 4.0.4\r\ntested on\r\n\r\nTitanium Studio, build: 3.0.2.201302191606\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\nAndroid Emulator: Android SDK version: 2.2", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-07T08:34:14.000+0000", "updated": "2013-03-13T06:55:46.000+0000" }, { "id": "424330", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-18T22:13:11.000+0000", "updated": "2017-07-18T22:13:11.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }