I tested the branch, I had to modify the target of QCoreApplication::sendEvent to be QGuiApplication::focusObject() for anything to go through.
However, with this change, any key press event enters an infinite loop where oxide::qt::WebView::HandleKeyboardEvent(…) generates a new QKeyEvent that is being handled by oxide::qt::RenderWidgetHostView::HandleKeyEvent(…), which forwards it to the renderer, which in turn will end up calling HandleKeyboardEvent…
Unless I missed something obvious from the proposed solution, this is not going to work.
I tested the branch, I had to modify the target of QCoreApplicatio n::sendEvent to be QGuiApplication ::focusObject( ) for anything to go through.
However, with this change, any key press event enters an infinite loop where oxide:: qt::WebView: :HandleKeyboard Event(… ) generates a new QKeyEvent that is being handled by oxide:: qt::RenderWidge tHostView: :HandleKeyEvent (…), which forwards it to the renderer, which in turn will end up calling HandleKeyboardE vent…
Unless I missed something obvious from the proposed solution, this is not going to work.