cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.89k stars 2.92k forks source link

Right-Click Menu opens on wrong monitor #1882

Closed TonyValenti closed 7 years ago

TonyValenti commented 7 years ago

Hi All, If you have a browser window and you right-click on it, you get a popup that has "Back, Forward, Print... and View source." If you have multiple monitors and you do this on the second monitor, the menu pops up on the first monitor.

Please only open an issue if you have a BUG to report, if you simply have a question or require some assistance keep reading for info. If you do have a BUG to report, please use the Bug Report template below.

So you have a question to ask, where can you look for answers? Read on. Think you've found a bug? Please take the time to fill out the bug report below, provide as much information as you can, make sure you provide information for every heading. Thank you! We'd like to keep issues exclusively for bug reports, so please ask your questions on Gitter

Still have a question? Great, ask it on Gitter. https://gitter.im/cefsharp/CefSharp

Note: CefSharp is just a wrapper around the Chromium Embedded Project, it's worth searching http://magpcss.org/ceforum/index.php if your problem involves a low level Chromium error message

We ask that you put in a reasonable amount of effort in searching through the resources listed above. The developers have full time jobs, they have lives, families, the time they have available to contribute this project is a precious resource, make sure you use it wisely! Remember the more time we spend answering the same questions over and over again, less time goes into writing code, adding new features, actually fixing bugs!

Still have a question to ask or unsure where to go next? Start with the Gitter Chat room : https://gitter.im/cefsharp/CefSharp

--

Bug Report

Delete this line and everything above, and then fill in the details below.

Jovan-Cheng commented 7 years ago

https://bitbucket.org/chromiumembedded/cef/issues/2059/contextmenu-cant-hiding-in-touch-model

amaitland commented 7 years ago

@TonyValenti if your going to submit a bug report then please fill out the template.

I have multiple monitors and have no problems with positioning of the context menu using the latest examples.

amaitland commented 7 years ago

Assuming you're talking about WPF then implementing a custom menu is the best approach, there is a problem in CEF currently which needs to be resolved see #1767