diff options
author | m.kawonczyk <m.kawonczyk@samsung.com> | 2016-09-23 14:24:38 +0200 |
---|---|---|
committer | HyeKyoung Hwang <cookie@samsung.com> | 2016-10-28 11:10:52 +0900 |
commit | c4e350e5a24e0d660741a3d7de681909aac14237 (patch) | |
tree | 42f3b20d07dff6f0296676123ead0b708932ce0d /services | |
parent | 37663bfecd30501b0aaea5b48e1341a31d101733 (diff) | |
download | browser-c4e350e5a24e0d660741a3d7de681909aac14237.tar.gz browser-c4e350e5a24e0d660741a3d7de681909aac14237.tar.bz2 browser-c4e350e5a24e0d660741a3d7de681909aac14237.zip |
Restore focus to ewk_view on load,finished
[Issue] http://suprem.sec.samsung.net/jira/browse/TWF-2190
[Problem] WebView is not getting focus by default after
application start.
[Solution] Call ewk_view_focus_set on load,finish callback
[Verify] Open google.com, wait untill website is fully loaded.
Cursor should be visible in google entry.
Change-Id: Iac7562c3f456e7246c257a65e74241a36ea500ae
Diffstat (limited to 'services')
-rwxr-xr-x | services/WebEngineService/WebView.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/WebEngineService/WebView.cpp b/services/WebEngineService/WebView.cpp index bd47fb0d..b2beb90e 100755 --- a/services/WebEngineService/WebView.cpp +++ b/services/WebEngineService/WebView.cpp @@ -927,6 +927,8 @@ void WebView::__loadFinished(void * data, Evas_Object * /* obj */, void * /* eve self->captureSnapshot(boost::any_cast<int>(config::Config::getInstance().get(CONFIG_KEY::HISTORY_TAB_SERVICE_THUMB_WIDTH)), boost::any_cast<int>(tizen_browser::config::Config::getInstance().get(CONFIG_KEY::HISTORY_TAB_SERVICE_THUMB_HEIGHT)), true, tools::SnapshotType::ASYNC_LOAD_FINISHED); + + self->setFocus(); } void WebView::__loadProgress(void * data, Evas_Object * /* obj */, void * event_info) |