maps.google.com blue URL Bar and crash issue 32/75132/4
authorm.kawonczyk <m.kawonczyk@samsung.com>
Fri, 17 Jun 2016 08:54:12 +0000 (10:54 +0200)
committerHye Kyoung Hwang <cookie@samsung.com>
Mon, 20 Jun 2016 09:37:10 +0000 (02:37 -0700)
[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

services/WebPageUI/URIEntry.cpp
services/WebPageUI/WebPageUI.cpp

index e7973ede3b932c40c74c9844fd6f854adcb921b3..afe30eb404dfd1368ca26f16c281c75437f4ab68 100644 (file)
@@ -305,6 +305,7 @@ void URIEntry::editingCompleted()
     elm_object_focus_set(m_entry, EINA_TRUE);
 #else
     showSecureIcon(false, false);
+    clearFocus();
 #endif
 }
 
index 7808b800c0b61bc28fdf9addf3e27b50b50a41f2..e95bf655adb5e6661240aeaa5b2272daabe8ff1e 100755 (executable)
@@ -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);
 }