[Title] Clear composition when keypad disappear
[Issue#] N_SE-48084
[Problem] Can't enter text after keypad disappear if webpage has composition
[Cause] Key event delivered to previous composition node
[Solution] Clear composition when keypad disappear
Change-Id: I55ce8b1e0a9f0f64fdb00ab53c6a6b73f18484bf
if (inputMethodContext->m_viewImpl->pageClient->isClipboardWindowOpened())
inputMethodContext->m_viewImpl->pageClient->closeClipboardWindow();
#endif
+
+ if (inputMethodContext->m_viewImpl->page()->editorState().hasComposition)
+ inputMethodContext->resetIMFContext();
+
evas_object_smart_callback_call(inputMethodContext->m_viewImpl->view(), "editorclient,ime,closed", 0);
} else if (state == ECORE_IMF_INPUT_PANEL_STATE_SHOW)
evas_object_smart_callback_call(inputMethodContext->m_viewImpl->view(), "editorclient,ime,opened", 0);