We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGet 75.1.143
x64 & x86
Win10
WinForms
WPF
OffScreen
WPF & WinForms
var entry = browser.GetBrowserHost().GetVisibleNavigationEntry();
Current: null returned Expected: return the current visible entry
null
No
CEF
Not acceptable / can't test with the sample
Regards, Peter
The text was updated successfully, but these errors were encountered:
Please provide a more detailed example. When and on what thread are you calling the method?
Sorry, something went wrong.
Hi, Thank you for response! Here is an example: https://github.com/Pethical/CefSharp.MinimalExample/blob/362befd55337578086c56f2904b78cc52a51bc35/CefSharp.MinimalExample.WinForms/BrowserForm.cs#L180
On the main thread. On menu item click.
As per the documentation you can only call GetVisibleNavigationEntry on the CEF UI thread.
http://cefsharp.github.io/api/75.1.x/html/M_CefSharp_IBrowserHost_GetVisibleNavigationEntry.htm
You can use http://cefsharp.github.io/api/75.1.x/html/P_CefSharp_Cef_UIThreadTaskFactory.htm to access the CEF UI thread.
99c177a
An exception will now be throw when calling from the incorrect thread, relevant commit 99c177a
Thank you!
No branches or pull requests
NuGet 75.1.143
x64 & x86
Win10
WinForms
,WPF
orOffScreen
?WPF & WinForms
Current:
null
returnedExpected: return the current visible entry
No
CEF
Sample Application from http://opensource.spotify.com/cefbuilds/index.html?Not acceptable / can't test with the sample
Regards,
Peter
The text was updated successfully, but these errors were encountered: