From: m.kawonczyk Date: Fri, 17 Jun 2016 08:54:12 +0000 (+0200) Subject: maps.google.com blue URL Bar and crash issue X-Git-Tag: submit/tizen_mobile/20160620.101318~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ccdcc88a8da5a0a39b205d7ba63b5bdd19a24a9;p=profile%2Fcommon%2Fapps%2Fweb%2Fbrowser.git 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 --- 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); }