Skip to content
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

Mouse context menu and <select> control crash app on Mac #24

Open
cztomczak opened this issue Feb 12, 2015 · 0 comments
Open

Mouse context menu and <select> control crash app on Mac #24

cztomczak opened this issue Feb 12, 2015 · 0 comments

Comments

@cztomczak
Copy link
Owner

The error appearing in console:

2015-02-12 21:19:41.699 cef2go[3407:507] -[NSApplication 
isHandlingSendEvent]: unrecognized selector sent to instance 0x9222330 

This is similar to Issue 156 in CEF Python, see:

https://code.google.com/p/cefpython/issues/detail?id=156

To fix it in CEF2go we would need to include the code in util_mac.mm. This code could be added in cef2go/src/cocoa/cocoa.go file similarly to how other Objective C++ code is added there, inside the multiline comment. See util_mac.mm:
https://code.google.com/p/cefpython/source/browse/cefpython/cef3/client_handler/util_mac.mm?r=8ca9a32e9103

And then call MacInitialize() from within cocoa.InitializeApp().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant