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.
The only solution for me that worked is to close and reopen the MainNavigationWindow. and this couldn't be the final solution.
more 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.
It 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.
To Reproduce the error I've created a basic Project with the standard template and copy only necessary code into it.
here is also the related Stackoverflow link where Fokke Zandbergen mentioned to create a Ticket:
>>[
http://stackoverflow.com/questions/33390914/fullscreen-video-pushing-the-navbar-upwards-to-the-size-of-the-status-bar-and-re]<<
It looks like this is not only on FullscreenVideo...
[~dpriebe] could you add the screenshots you linked from Stack?
Here are the Screenshots i've posted on Stackoverflow http://stackoverflow.com/questions/33390914/fullscreen-video-pushing-the-navbar-upwards-to-the-size-of-the-status-bar-and-re
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....
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? To test AutoLayout, add this property to the tiapp.xml, clean the project and run it again:
<use-autolayout>true</use-autolayout>
Demo to reproduce (without unrelated code):Any news about this bug? Why in Kitchen Sink it works fine? I don't find the solution for my app!
Hello, @Hans Knoechel now I had some time for testing and review this issue. Some facts: Fresh OS X installation and totally fresh/new Appcelerator dev environment with option to build from CLI and Appcelerator Studio. * System: Mac OS X 10.11.3 (64bit) * Node.js: 4.2.6 over nvm * Appcelerator CLI: 5.2.2 * Titanium CLI: 5.0.7 * Alloy: 1.8.5 * Titanium SDK: 5.2.2.GA * Java: 1.8.0_77 * Xcode: 7.3 (build 7D175) * iOS SDK: 9.3 * Android SDK: Android 6.0 API 23 Rev. 3 * Android NDK: r11c * Appcelerator Studio: 4.5.0.201602170821 For dev with extra Editor: * Atom Editor: 1.7.0 Atom Plugins: * atom-beautify: 0.29.2 * build: 0.59.0 * project-manager: 2.9.7 * linter: 1.11.4 * minimap: 4.4.0 * titanium-alloy: 0.9.5 * ti-create: 0.26.0 * titanium-build: 0.8.1 * titanium-language-javascript: 0.48.0 * related-split-view: 0.2.1 What I have tested with this environment and what result i get:
The Code i uploaded with creating this Jira Ticket -> _SAME ISSUE AS DESCRIBED_
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_
The Code postet from Hans Knoechel WITHOUT *true * in the trap.xml -> _SAME ISSUE AS DESCRIBED_
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_
So the issue is still there and the use of the experimental *with the code from Hans Knoechel and with autolayout after exit the fullscreen (Demo went up as described and left the gap): !http://s30.postimg.org/5vl5ltgbl/Bildschirmfoto_2016_04_14_um_16_56_06.png! he not showing up video with my code and autolayout: !http://s30.postimg.org/cjhr8eztt/Bildschirmfoto_2016_04_14_um_17_00_27.png!
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!
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.
Hi, are there any new Infos about this issue?
Hey Dennis, quick 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!
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!Many thanks, I appreciate your efforts very much!
Closing ticket as duplicate, with reference to the above comments and links.