From 45bec9aac1c754eaa7ffbe120b322972e9d754b5 Mon Sep 17 00:00:00 2001 From: jihwankim Date: Wed, 28 Oct 2020 13:10:22 +0900 Subject: [PATCH] [DA] Show native window in app-control. Now, native window is shown when 'ready-to-show' is called. This is an intentional operation using an electron api. But because of this, there is a VOC that the launch speed of the web app seems to be slow. DA decided that it would be better to show the window if it is not ready. (Even if it is an empty screen) So call WebApplication.show in app-control callback. This patch uses DAExtension api, so this should be applied with or after the patch below. https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/246305/ Change-Id: I5a872ab0408b739d86890fc03c942c927160fdc8 Signed-off-by: jihwankim --- wrt_app/src/runtime.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrt_app/src/runtime.ts b/wrt_app/src/runtime.ts index 0f81a53c..928d595a 100644 --- a/wrt_app/src/runtime.ts +++ b/wrt_app/src/runtime.ts @@ -114,6 +114,9 @@ class Runtime { } this.webApplication.mainWindow.loadURL(src); this.webApplication.prelaunch(src); + if (wrt.da) { + this.webApplication.show(); + } } else { console.log('Handling app-control event'); if (this.webApplication.preloadStatus == 'readyToShow') { -- 2.34.1