Fix opening keypad issue
authorSangYong Park <sy302.park@samsung.com>
Thu, 9 May 2013 11:33:41 +0000 (20:33 +0900)
committerSangYong Park <sy302.park@samsung.com>
Thu, 9 May 2013 11:33:41 +0000 (20:33 +0900)
[Title] Fix opening keypad issue
[Issue#] N_SE-37965
[Problem] Can not open keypad after enter text by hw keyboard
[Cause] Keypad state changed to will show when enter text by hw keyboard
[Solution] Change keypad state checking condition

Change-Id: I95629976d9f43bccba26dcbb1178aebccf0c42dd

Source/WebKit2/UIProcess/efl/InputMethodContextEfl.cpp

index d810116..8ff196f 100755 (executable)
@@ -492,7 +492,7 @@ void InputMethodContextEfl::showIMFContext(const EditorState& editor)
 {
     Ecore_IMF_Input_Panel_Layout layout = layoutType(editor.inputMethodHints);
 
-    if (m_context && m_state != ECORE_IMF_INPUT_PANEL_STATE_HIDE && layout == ecore_imf_context_input_panel_layout_get(m_context.get()))
+    if (isShow() && layout == ecore_imf_context_input_panel_layout_get(m_context.get()))
         return;
 
     Ewk_Settings* settings = ewk_view_settings_get(m_viewImpl->view());
@@ -567,7 +567,6 @@ void InputMethodContextEfl::showIMFContext(const EditorState& editor)
     ewk_view_focused_node_adjust(m_viewImpl->view(), EINA_TRUE);
 
     m_focused = true;
-    m_state = ECORE_IMF_INPUT_PANEL_STATE_WILL_SHOW;
 }
 
 void InputMethodContextEfl::hideIMFContext()