[Title] Do not focus ewk view if webpage's selection is not editable.
[Issue#] N_SE-43113
[Problem] ewk view was crashed.
[Cause] Ewk view receive event, when popup window is created.
[Solution] Do not focus ewk view if webpage's selection is not editable.
Change-Id: Ief75ecba4ce623fb0cbdc0bce2535847de1b39ac
m_pageClient->doneWithGestureEvent(event, handled);
#endif
#if ENABLE(TIZEN_ISF_PORT)
- if (m_isVisible && type == WebEvent::GestureSingleTap)
- evas_object_focus_set(viewWidget(), true);
+ if (m_isVisible && type == WebEvent::GestureSingleTap) {
+ InputMethodContextEfl* inputMethodContext = static_cast<PageClientImpl*>(m_pageClient)->viewImpl()->inputMethodContext();
+ if (inputMethodContext && inputMethodContext->hasContext())
+ evas_object_focus_set(viewWidget(), true);
+ }
#endif
break;
}
void updateTextInputState();
#if ENABLE(TIZEN_ISF_PORT)
- void setUseInputMethod(bool);
bool isShow();
+ bool hasContext() { return m_context; }
Ecore_IMF_Autocapital_Type autoCapitalType();
void onFocusIn();
void onFocusOut();