-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Selecting text using the mouse does not work #145
Comments
I'm having a look into this one at the moment, it seems to be sending the correct information to the OnMouseButton method of the browser wrapper. It doesn't just effect text highlighting on the page though, it seems to be affecting text in input fields as well as drop down boxes. Someone using an alternative wrapper to CEF seems to be experiencing this exact same issue (see http://www.magpcss.org/ceforum/viewtopic.php?f=14&t=10965). As per the above post, it also seems there is some missing implementation in CefSharp, got a feeling this may be where the problem resides: void SetPopupBuffer(int width, int height, const void* buffer)
{
// TODO: implement
} I will continue investigating! |
Hi, Many, many thanks for your answer! It's great to get some quality help with this. Regarding the |
No problem! CefSharp helped a lot in one of my own projects, so just trying to contribute something back :) I tried fixing this on the weekend but didn't get very far with it, I'm going to give it another shot this weekend. It seems that the support for this was implemented in CefSharp v1, so I was trying to pretty much just port over that functionality. I'll send you a pull request through if I do manage to get it fixed! |
Cool. 😄 Let me know if you get it sorted out and we can cooperate in getting the changes incorporated into master a.k.a. CefSharp3. 😉 |
Did you manage to find a workaround for this? |
I've still not had any luck with it unfortunately :( |
maybe this would be helpfull |
@shen6041 it is helpfull indeed. a pr is on the way |
You can double-click on a word, but not click-and-drag to select a section of text. Haven't checked whether this actually works with the CEF1 branch, but I suspect it does so it's probably a matter of some OnMouse* event not being propagated to CEF properly.
Possibly blocks #136, depending on how critical this is (I think it's not sooo critical, there are other bigger problems at the moment).
The text was updated successfully, but these errors were encountered: