You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Using the CustomMenuImplementation project and clicking the right mouse button
cause the replacement context menu to appear but when you click an item within
the context menu the default context menu is also displayed. If you set the
UseDefaultContextMenu=false the default context menu is still displayed.
What is the expected output? What do you see instead?
When you set UseDefaultContextMenu=false the context menu should no longer be
displayed unless it is overridden using the
WebkitControl.CustomContextMenuManager.ShowContextMenu event.
What version of the product are you using? On what operating system?
OpenWebKitSharp 2.0 on Windows 7 x64 with visual studio 2010
Please provide any additional information below.
Original issue reported on code.google.com by ben.war...@gmail.com on 17 Nov 2011 at 7:36
The text was updated successfully, but these errors were encountered:
I fixed this and will have it ready for 2.1R1. I also added a
UseCustomContextMenu bool property for those who want to implement their own
context menu.
Original comment by tsumalis96@gmail.com on 17 Nov 2011 at 2:38
Cool - Thanks :)
In the meantime I have just put a hack in place that intercepts all the right
mouse button clicks coming through to the webkit control using the
IMessageFilter interface.
Original comment by ben.war...@gmail.com on 17 Nov 2011 at 6:41
I don't know how it can be done that way, but it is simple if you want to
disable the context menu via the code. You can go to uiDelegate.cs at int
contextMenuItemsForElement (sth like that) and replace the whole code with
return 0;
Original comment by tsumalis96@gmail.com on 18 Nov 2011 at 3:58
Original issue reported on code.google.com by
ben.war...@gmail.com
on 17 Nov 2011 at 7:36The text was updated successfully, but these errors were encountered: