From 7f038dc2d1be6e8572672ffc958ff32f8e2b2ab5 Mon Sep 17 00:00:00 2001 From: Youngsoo Choi Date: Thu, 13 May 2021 07:00:16 -0700 Subject: [PATCH] Revert "Fix issue in multi view(window) scenario" We are facing with urgent public release but unfotunately this patch blocks wrtjs build and there's no time to build chromium in OBS. So, we will revert and recover this patch as soon as possible. This reverts commit ab17ff17c22bdacdd7948d33f57b6024cb37613e. Change-Id: I8384a762b21e4027d267532667036907889d4822 Signed-off-by: Youngsoo Choi --- wrt_app/src/web_application.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wrt_app/src/web_application.ts b/wrt_app/src/web_application.ts index 6187903..31f3915 100644 --- a/wrt_app/src/web_application.ts +++ b/wrt_app/src/web_application.ts @@ -367,11 +367,8 @@ export class WebApplication { if (this.profileDelegate.backgroundExecutable()) { console.log('skip showing while backgroundExecution mode'); } else if (!this.mainWindow.isVisible()) { - console.log(`show this.windowList.length : ${this.windowList.length}`); + console.log('show window'); this.mainWindow.show(); - if (this.windowList.length > 1) { - this.windowList[this.windowList.length - 1].moveTop(); - } } this.profileDelegate.show(); } -- 2.7.4