Hide the window object during termination of webapp 81/110181/4
authorYoungcheol Kang <ychul.kang@samsung.com>
Fri, 13 Jan 2017 07:07:21 +0000 (16:07 +0900)
committerYoungcheol Kang <ychul.kang@samsung.com>
Wed, 18 Jan 2017 06:23:03 +0000 (15:23 +0900)
This white screen is shown because the webview is deleted and
window object remains. This patch fixes this issue using
evas_object_hide() API for preventing the white screen issue
during the termination of web application.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2790

Change-Id: Ie697d4285d957ccc830518e78d3135c3770801c2
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
runtime/browser/web_application.cc

index 5ffaa5c7d3dacca5c31fb3e8d708ec6ce412a900..683089138e9f0b4b6637cca2488d9ac6cac7d991 100755 (executable)
@@ -793,6 +793,11 @@ void WebApplication::OnClosedWebView(WebView* view) {
 
   LOGGER(DEBUG) << "plugin_session_count : " <<
       XWalkExtensionRendererController::plugin_session_count;
+
+  // Hide the window object for preventing the white screen
+  // during termination of web application.
+  evas_object_hide(window_->evas_object());
+
   session_counter.application = this;
   session_counter.timer = ecore_timer_add(SESSION_COUNTER_INTERVAL,
       CheckPluginSession, &session_counter);