Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser: Stuck in Fullscreen Mode, Fullscreen Message and Size Options
ashnet
Posted: Wednesday, January 3, 2018 5:28:50 PM
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
eo_support
Posted: Monday, January 8, 2018 5:27:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 19,955
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!
ashnet
Posted: Monday, January 8, 2018 7:35:44 PM
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
eo_support
Posted: Tuesday, January 9, 2018 7:45:23 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 19,955
You are very welcome!
eo_support
Posted: Tuesday, January 16, 2018 9:30:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 19,955
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.aspx

You 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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.