-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
WPF - IContextMenuHandler callback doesn't execute when called on WPF UI
thread.
#1767
New issue
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
Comments
Have you verified the problem exists when running using the |
From what I can tell this is a bug in |
…mmand based on CefMenuCommand enum rather than trying to use IRunContextMenuCallback which isn't working (upstream issue) This is a workaround for cefsharp#1767 You can use the default CEF menu it does however require you to integrate CEF into your main message loop see cefsharp#1795
Left over from when the built in wasn't working (it still only works partially) due to #1767 Improve comments and add links to make clearer
Left over from when the built in wasn't working (it still only works partially) due to #1767 Improve comments and add links to make clearer
WPF UI
thread.
It's unlikely the |
Starting in version |
Hi, I'm using Cefsharp 51 x86 on Windows 10 and I have problem with IContextMenuHandler. I created my custom context menu using this code: https://github.com/cefsharp/CefSharp/blob/e3c0d8b013d85dc41d4e01a573dd50506943fc7e/CefSharp.Wpf.Example/Handlers/MenuHandler.cs
theese conditions are not firing when I click on the context menu item 26501 or 26502. I tried to add Console.WriteLine("something"); but still does not work. Before update to CefSharp 51 context menu was working fine
The text was updated successfully, but these errors were encountered: