summaryrefslogtreecommitdiff
path: root/services/WebPageUI
diff options
context:
space:
mode:
authorm.kawonczyk <m.kawonczyk@samsung.com>2016-06-17 10:54:12 +0200
committerHye Kyoung Hwang <cookie@samsung.com>2016-06-20 02:37:10 -0700
commit3ccdcc88a8da5a0a39b205d7ba63b5bdd19a24a9 (patch)
tree8d1d145c02250ca1f865d350ad9b0a5a5bbca1e3 /services/WebPageUI
parent01e8f828a7e23d19f4ab11958142c78c9e9fff97 (diff)
downloadbrowser-3ccdcc88a8da5a0a39b205d7ba63b5bdd19a24a9.tar.gz
browser-3ccdcc88a8da5a0a39b205d7ba63b5bdd19a24a9.tar.bz2
browser-3ccdcc88a8da5a0a39b205d7ba63b5bdd19a24a9.zip
maps.google.com blue URL Bar and crash issue
[Issue] http://suprem.sec.samsung.net/jira/browse/TWF-1508 [Problem] After clicking OK or CANCEL on web_view popup browser is crashing sometimes. [Solution] Clear focus from the entry and focus tab manager button, so the EFL dont focus entry again after clicking OK or CANCEL. [Verify] Open maps.google.com from uribar and click OK or CANCEL. Browser should work normally. Change-Id: I08362da1f0032d9dfdd16e9a18d10bf50658b099
Diffstat (limited to 'services/WebPageUI')
-rw-r--r--services/WebPageUI/URIEntry.cpp1
-rwxr-xr-xservices/WebPageUI/WebPageUI.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/services/WebPageUI/URIEntry.cpp b/services/WebPageUI/URIEntry.cpp
index e7973ede..afe30eb4 100644
--- a/services/WebPageUI/URIEntry.cpp
+++ b/services/WebPageUI/URIEntry.cpp
@@ -305,6 +305,7 @@ void URIEntry::editingCompleted()
elm_object_focus_set(m_entry, EINA_TRUE);
#else
showSecureIcon(false, false);
+ clearFocus();
#endif
}
diff --git a/services/WebPageUI/WebPageUI.cpp b/services/WebPageUI/WebPageUI.cpp
index 7808b800..e95bf655 100755
--- a/services/WebPageUI/WebPageUI.cpp
+++ b/services/WebPageUI/WebPageUI.cpp
@@ -714,7 +714,7 @@ void WebPageUI::mobileEntryUnfocused()
} else {
elm_object_signal_emit(m_mainLayout, "decrease_unfocused_uri_wp", "ui");
}
-
+ setFocusOnSuspend();
// delay hiding on one efl loop iteration to enable genlist item selected callback to come
ecore_timer_add(0.0, _hideDelay, this);
}