{ "id": "65004", "key": "TIMOB-3876", "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": "12088", "description": "", "name": "Sprint 2011-48", "archived": true, "released": true, "releaseDate": "2011-12-05" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-02T13:42:19.000+0000", "created": "2011-05-03T01:58:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [ { "id": "14017", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "83231", "key": "TIMOB-6379", "fields": { "summary": "iOS: KitchenSink \"embedded video\" not loading video", "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 } } } }, { "id": "16503", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89407", "key": "TIMOB-8500", "fields": { "summary": "iOS: NavBar moves out of place on video player", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-11T19:04:05.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": "You will see the 'top' of the window shifts down at the same height as the status bar.\r\n\r\nTo reproduce in KS:\r\n\r\n1. Go to Phone > Play Movie > Embedded Video in KS (top video will start) \r\n2. Click the arrows to go fullscreen while playing\r\n3. Turn the simulator of device left or right orientation at least once. (You can stay landscape or go back to portrait) \r\n4. Let the movie complete itself. (Do not press 'done')\r\n\r\nThis only seems to happen when the movie completes itself. \r\n\r\nClicking to another tab and back again appears to reset the top of the window back again.\r\n\r\nHelpdesk ticket that reported this:\r\nhttp://support.appcelerator.com/tickets/KYR-94554-295/homepage", "attachment": [ { "id": "24425", "filename": "Screen Shot 2011-12-01 at 10.41.23 AM.png", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-01T10:45:39.000+0000", "size": 134853, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS - Embedded video player bug - NavBar moves out of place", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iPhone Simulator 4.3", "comment": { "comments": [ { "id": "174223", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please see if this is still occurring.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-29T15:30:51.000+0000", "updated": "2011-11-29T15:30:51.000+0000" }, { "id": "174320", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still valid in d502b23, but there have been a number of orientation fixes since; could be resolved by these. TIMOB-6379 must be resolved first.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-30T11:38:21.000+0000", "updated": "2011-11-30T11:38:21.000+0000" }, { "id": "174714", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with SDK: 1.8.0.1.v20111203093857\r\niPhone 4s 5.0.1\r\niPad 2 4.3.5\r\niPod 3rd gen 4.0.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-03T14:42:20.000+0000", "updated": "2011-12-03T14:42:20.000+0000" }, { "id": "187374", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug seems to still exist.\r\n\r\nTi Studio: 1.0.9.201202141208 \r\nTi SDK: 1.8, 1.8.1, 1.8.2, 2.0.0.v20120319173321 \r\nXcode 4.2\r\nMac OS X 10.6.8", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T08:43:19.000+0000", "updated": "2012-03-20T08:43:19.000+0000" }, { "id": "187416", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Niel - Please add a test case that demonstrates this issue. ", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T10:22:11.000+0000", "updated": "2012-03-20T10:22:11.000+0000" }, { "id": "189218", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Neeraj,\r\n\r\napp.js\r\n----------\r\n\r\n\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\ntabGroup.orientationModes = [Titanium.UI.PORTRAIT];\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\n\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle:'Watch YouTube Video',\r\n\theight:40\r\n});\r\nbutton2.addEventListener('click', function() {\r\n\tvar win3 = Titanium.UI.createWindow({ \r\n\t title:'YouTube',\r\n\t backgroundColor:'#CCC'\r\n\t});\r\n\tvar url = 'http://www.youtube.com/watch?v=6b4ZZQkcNEo';\r\n\tvar html = '' + \r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'
' +\r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'' +\r\n\t\t'
' +\r\n\t\t'' + \r\n\t\t'';\r\n\tvar webview = Ti.UI.createWebView({\r\n\t top: 0,\r\n\t left: 0,\r\n\t fullscreen:true,\r\n\t html: html,\r\n\t height:240,\r\n\t width:320\r\n\t});\r\n\twin3.add(webview);\r\n\t// win3.addEventListener('focus', function() {\r\n\t\t// webview.html = html;\r\n\t\t// webview.height = 240;\r\n\t\t// webview.width = 320;\r\n\t// });\r\n\ttabGroup.activeTab.open(win3);\r\n});\r\nwin2.add(button2);\r\n\r\n//\r\n// create tabs\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\n//\r\n// add tabs\r\n// \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\n------------\r\n\r\nTo reproduce the problem:\r\n\r\n1) Click \"Watch YouTube Video\"\r\n2) Click on webview to play Youtube video while holding device in PORTRAIT orientation\r\n3) While video is loading, turn device to LANDSCAPE. You will notice that status bar moves to the PORTRAIT orientation.\r\n4) While video is playing in LANDSCAPE, return device to PORTRAIT orientation (you will notice that statusbar is in proper position).\r\n5) Return device to LANDSCAPE orientation, and end video by clicking \"Done\".\r\n6) The Youtube player will close and the window will reopen with window's navbar underneath the status bar.", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-29T15:36:02.000+0000", "updated": "2012-03-29T15:36:02.000+0000" }, { "id": "189240", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening based on the latest test case.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-29T20:54:22.000+0000", "updated": "2012-03-29T20:54:22.000+0000" }, { "id": "189586", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Same issue still exists within 1.8.2 on a device:\r\n\r\napp.js:\r\nhttp://pastebin.com/9WWvyqeK\r\n\r\nvideoplayer.js:\r\nhttp://pastebin.com/BYBMQ0mM\r\n\r\nComments from customer: \"While a video is running, if orientation switches to landscape and video is set to full screen, then when orientation goes back to portrait and video.fullscreen = false, the window is positioned incorrectly. Basically, the title bar of the window is underneath the status bar. On my real app, the width of the window is cut off as well.\"\r\n\r\nInstead of opening a new ticket, I have used this one to continue the discussion. If you would like me to open a new one, just let me know.\r\n\r\nHD ticket: http://support-admin.appcelerator.com/display/APP-237638", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-02T16:59:20.000+0000", "updated": "2012-04-02T16:59:20.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }