|
Rank: Newbie Groups: Member
Joined: 1/8/2017 Posts: 4
|
Hello,
we have just licensed the whole suite and i have the following problems / questions regarding EO.WebBrowser when using Fullscreen mode.
1. The Fullscreen is not leaved when disposing the browser. Steps to reproduce: - Create a EO.WebBrowser instance pointing to Youtube. - Create a timer which is removing the instance - Start the application, select a video and start fullscreen mode - Wait for the timer to close the browser instance - Result: Stuck in Fullscreen Mode while browser is closed
2. The display of the Message "Press ESC to leave Fullscreen Mode" is cut / not completely displayed. - Is there an option to remove this message completely? Since we are using the control on devices without keyboard
3. The Fullscreen Mode is using currently always the whole Screen - Is there the possibility that the Fullscreen Mode uses only the whole space available by the wpf control it is placed in?
Thank you and best regards, Alex
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
We have looked into this issue. As to your questions:
1. We have confirmed this to be a bug. This will be fixed in our next build;
2. Yes. You can handle the WebView's FullscreenModeChanged event and set e.ShowExitInstruction to false so it won't display this message;
3. We will add this in our next build (along with the fix for #1). A new Parent property will be added to FullscreenModeChangedArgs and you can set that property to a Windows Form control (if you use WPF, you will need to use WindowsFormHost element) in your FullscreenModeChanged event handler. This way the "full screen" view will fill the Parent control you specified instead.
We will reply again when the new build is ready.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/8/2017 Posts: 4
|
Hello,
thank you for pointing me to e.ShowExitInstruction. And thank you for fixing this issue so fast and implementing the fullscreen feature. Really awesome!!
I am excited to check out the new build.
Best regards, Alex
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
You are very welcome!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi, We have posted a new build that should resolve both issues. The full screen window is now automatically closed when you close the WebView. Additionally, we have added this property: https://www.essentialobjects.com/doc/eo.webbrowser.fullscreenmodechangedargs.parent.aspxYou can set this property in FullscreenModeChanged event and the "full screen" window will be placed inside the Parent control you specified. Note that when you set this property: 1. You are responsible to destroy the parent control/window when the parent control is no longer needed; 2. The built-in ShowExitInstruction feature will not work. So you will be responsible for that message as well; You can download the new build from our download page. Please take a look and let us know if you still have any questions. Thanks!
|
|