{ "id": "152587", "key": "TIMOB-20112", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-01-20T23:14:50.000+0000", "created": "2015-11-02T15:58:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "fullscreen", "ios", "titanium", "videoplayer" ], "versions": [ { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [ { "id": "53984", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "148925", "key": "TIMOB-19040", "fields": { "summary": "iOS9: Replace MPMoviePlayerController in Ti.Media.VideoPlayer with AVPlayerViewController", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-29T21:58:46.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": "the problem is when the user switch to fullscreen video and then coming back the NavBar of the NavigationWindow is pushed upwards to the size of the status bar and remains there.\r\n\r\nThe only solution for me that worked is to close and reopen the MainNavigationWindow. and this couldn't be the final solution.\r\n\r\nmore hint's from me: z-index of the Video View is higher than the others. fullscreen vor the app and hiding the NavBar and StatusBar is disabled in the tiapp.xml. fullscreen for the MainNavigationWindow and it's Main Window is disabled in the .tss Files.\r\n\r\nIt looks like this will be all ignored. The Fullscreen Signal from the VideoPlayer is fired and pushes the navbar to the size of the status bar upward. After the fullscreen exit remains the navbar at the position. And under the navbar remains a black gap in the size of the StatusBar.\r\n\r\n\r\nTo Reproduce the error I've created a basic Project with the standard template and copy only necessary code into it.\r\n\r\nhere is also the related Stackoverflow link where Fokke Zandbergen mentioned to create a Ticket:\r\n>>[http://stackoverflow.com/questions/33390914/fullscreen-video-pushing-the-navbar-upwards-to-the-size-of-the-status-bar-and-re]<<\r\n\r\nIt looks like this is not only on FullscreenVideo...", "attachment": [ { "id": "57225", "filename": "ControllersViewsStyles.zip", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-02T15:54:22.000+0000", "size": 4940, "mimeType": "application/zip" }, { "id": "57237", "filename": "Problem.png", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T09:42:18.000+0000", "size": 953950, "mimeType": "image/png" }, { "id": "57236", "filename": "Simulator Screen Shot Nov 3, 2015, 2.07.43 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-03T08:16:08.000+0000", "size": 442552, "mimeType": "image/png" }, { "id": "57235", "filename": "Simulator Screen Shot Nov 3, 2015, 2.07.59 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-03T08:16:06.000+0000", "size": 426149, "mimeType": "image/png" }, { "id": "57234", "filename": "Simulator Screen Shot Nov 3, 2015, 2.08.06 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-03T08:16:07.000+0000", "size": 438329, "mimeType": "image/png" }, { "id": "57233", "filename": "Simulator Screen Shot Nov 3, 2015, 2.08.13 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-03T08:16:10.000+0000", "size": 438329, "mimeType": "image/png" }, { "id": "57232", "filename": "Simulator Screen Shot Nov 3, 2015, 2.08.34 PM.png", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-11-03T08:16:09.000+0000", "size": 64472, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Fullscreen Video Pushing the NavBar upwards to the size of the status bar and remains there after exit Fullscreen", "creator": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.2.1\r\n npm Version = 3.3.11\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\n node-appc Version = 0.2.31\r\n\r\nTitanium SDKs\r\n 5.2.0.GA\r\n Version = 5.2.0\r\n Install Location = ...\r\n Platforms = android, mobileweb, iphone\r\n git Hash = 838bda4\r\n git Timestamp = 10/28/15 20:28\r\n node-appc Version = 0.2.33\r\n\r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n Installed = yes\r\n Memory Limit = 2 GB\r\n\r\nXcode\r\n 7.1 (build 7B91b) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 9.1\r\n iOS Simulators = 9.1, 9.0, 8.4, 8.3, 8.2, 8.1\r\n Watch SDKs = 2.0\r\n Watch Simulators = 2.0\r\n Supported by TiSDK 5.2.0.GA = yes\r\n EULA Accepted = yes\r\n Teams = none", "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "368783", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~dpriebe] could you add the screenshots you linked from Stack?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-11-03T07:33:12.000+0000", "updated": "2015-11-03T07:33:12.000+0000" }, { "id": "368803", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here are the Screenshots i've posted on Stackoverflow\r\nhttp://stackoverflow.com/questions/33390914/fullscreen-video-pushing-the-navbar-upwards-to-the-size-of-the-status-bar-and-re", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T09:43:14.000+0000", "updated": "2015-11-03T09:43:14.000+0000" }, { "id": "374027", "author": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If the app is portrait only, after exiting fullscreen video, the system status bar will change orientation when rotating screen, while the app is still portrait only. Looks very weird....", "updateAuthor": { "name": "shawnlan", "key": "shawnlan", "displayName": "Shawn Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-07T18:51:13.000+0000", "updated": "2016-01-07T18:51:13.000+0000" }, { "id": "374738", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Before I check the issue in detail, can you validate that the issue does also happen in the [latest 5_2_X build|http://builds.appcelerator.com/mobile/5_2_X/mobilesdk-5.2.0.v20160114021251-osx.zip] when AutoLayout is enabled?\r\n\r\nTo test AutoLayout, add this property to the tiapp.xml, clean the project and run it again:\r\n{{true}}\r\n\r\nDemo to reproduce (without unrelated code):\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow({backgroundColor: \"#fff\", title: \"Demo\"});\r\nvar nav = Ti.UI.iOS.createNavigationWindow({window: window});\r\n\r\nvar player = Ti.Media.createVideoPlayer({\r\n height:Titanium.UI.FILL,\r\n\twidth:Titanium.UI.FILL,\r\n\tborderWidth: 1,\r\n\tzIndex: 1,\r\n\tmediaControlStyle: Titanium.Media.VIDEO_CONTROL_EMBEDDED,\r\n\tscalingMode: Titanium.Media.VIDEO_SCALING_ASPECT_FIT,\r\n\tautoplay: false,\r\n media: \"http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4\"\r\n});\r\n\r\nwindow.add(player);\r\nnav.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-01-16T13:41:14.000+0000", "updated": "2016-01-16T13:50:12.000+0000" }, { "id": "376208", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Any news about this bug? \r\nWhy in Kitchen Sink it works fine? I don't find the solution for my app!", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-02-08T01:34:01.000+0000", "updated": "2016-02-08T01:34:01.000+0000" }, { "id": "382734", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\n@Hans Knoechel\r\nnow I had some time for testing and review this issue.\r\n\r\nSome facts:\r\nFresh OS X installation and totally fresh/new Appcelerator dev environment with option to build from CLI and Appcelerator Studio.\r\n\r\n\r\n* System: Mac OS X 10.11.3 (64bit)\r\n* Node.js: 4.2.6 over nvm\r\n* Appcelerator CLI: 5.2.2\r\n* Titanium CLI: 5.0.7\r\n* Alloy: 1.8.5\r\n* Titanium SDK: 5.2.2.GA\r\n* Java: 1.8.0_77\r\n* Xcode: 7.3 (build 7D175)\r\n* iOS SDK: 9.3\r\n* Android SDK: Android 6.0 API 23 Rev. 3\r\n* Android NDK: r11c\r\n* Appcelerator Studio: 4.5.0.201602170821\r\n\r\n\r\nFor dev with extra Editor:\r\n* Atom Editor: 1.7.0\r\n\r\nAtom Plugins:\r\n* atom-beautify: 0.29.2\r\n* build: 0.59.0\r\n* project-manager: 2.9.7\r\n* linter: 1.11.4\r\n* minimap: 4.4.0\r\n* titanium-alloy: 0.9.5\r\n* ti-create: 0.26.0\r\n* titanium-build: 0.8.1\r\n* titanium-language-javascript: 0.48.0\r\n* related-split-view: 0.2.1\r\n\r\nWhat I have tested with this environment and what result i get:\r\n# The Code i uploaded with creating this Jira Ticket -> _SAME ISSUE AS DESCRIBED_\r\n# The Code i uploaded with creating this Jira Ticket and the *true* in the trap.xml -> _THE VIDEO PLAYS BUT NOT SHOWING UP SO I CANT GET INTO FULL SCREEN ANYMORE_\r\n# The Code postet from Hans Knoechel WITHOUT *true* in the trap.xml -> _SAME ISSUE AS DESCRIBED_\r\n# The Code postet from Hans Knoechel WITH *true* in the trap.xml -> _SAME ISSUE AS DESCRIBED - BUT WITHOUT THE ISSUE THAT THE VIDEO IS NOT SHOWING UP_\r\n\r\nSo the issue is still there and the use of the experimental *true* have no positive effect.\r\nIf I use the Alloy way to create the Windows the use of the experimental *true* also have the effect that the Video is not showing up but i hear the sound of it.\r\nOne thing i have to say.. maybe it helps.. a video opened in the web view and showed there in fullscreen did not trigger this issue.\r\n\r\nI will also add 2 Pictures that shows the issue with the code from Hans Knoechel with autolayout and the not showing up video with my code and auto layout.\r\n\r\n@Lorenzo Piccinini\r\nTheKitchen Sink App is a Tabbed App that contains for each tab a Window.\r\nThis issue takes place then u have a single Window App. That means u have a Navigation Window with a Window inside and switching the Views in this Window. The Code from Hans Knoechel described it very good in ti-js Code whats happened there (the Player is nothing else than a View). In My Code i go the Alloy Way to create this structure and the nav Links only show the selected view and hide the other view.", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-14T15:25:46.000+0000", "updated": "2016-04-14T15:25:46.000+0000" }, { "id": "382735", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "with the code from Hans Knoechel and with autolayout after exit the fullscreen (Demo went up as described and left the gap):\r\n!http://s30.postimg.org/5vl5ltgbl/Bildschirmfoto_2016_04_14_um_16_56_06.png!\r\n\r\nhe not showing up video with my code and autolayout:\r\n!http://s30.postimg.org/cjhr8eztt/Bildschirmfoto_2016_04_14_um_17_00_27.png!", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-14T15:36:11.000+0000", "updated": "2016-04-14T15:36:11.000+0000" }, { "id": "382736", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you! Before we revisit this issue, can you test using the latest 5.4.0 build from http://builds.appcelerator.com/? We did some autolayout fixes the last week that may or may not effect this. Thanks you! ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-14T15:39:21.000+0000", "updated": "2016-04-14T15:39:21.000+0000" }, { "id": "382759", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've tested the same way with Titanium SDK 5.4.0.v20160414135955 and it shows the same behavior as before with 5.2.2.GA.", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-14T22:48:02.000+0000", "updated": "2016-04-14T22:48:46.000+0000" }, { "id": "391810", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, are there any new Infos about this issue?", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T09:41:19.000+0000", "updated": "2016-07-28T09:41:19.000+0000" }, { "id": "404992", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Dennis,\r\n\r\nquick update here: I tried sooo many different attempts here and none of my attempts to fix it succeeded. It's driving me nuts. I will try a bit more this sprint, but if cannot find a solution, I need to put it on hold for now. It's a biggie!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-20T22:49:01.000+0000", "updated": "2017-01-20T22:49:01.000+0000" }, { "id": "405002", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Update! This issue will be fixed as part of TIMOB-19040, just tested our above use-case with the linked PR. We updated the API behind the video-player to a more modern one ({{AVPlayer}}), so feel free to patch your current SDK with the the PR already. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-20T23:14:50.000+0000", "updated": "2017-01-20T23:14:50.000+0000" }, { "id": "405605", "author": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Many thanks, I appreciate your efforts very much!", "updateAuthor": { "name": "dpriebe", "key": "dpriebe", "displayName": "Dennis Priebe", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-30T13:08:13.000+0000", "updated": "2017-01-30T13:08:13.000+0000" }, { "id": "416277", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate, with reference to the above comments and links.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T21:58:46.000+0000", "updated": "2017-03-29T21:58:46.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }