Revert "Fix issue in multi view(window) scenario" 41/258341/1 accepted/tizen/unified/20210513.161712 submit/tizen/20210513.140820
authorYoungsoo Choi <kenshin.choi@samsung.com>
Thu, 13 May 2021 14:00:16 +0000 (07:00 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Thu, 13 May 2021 14:03:13 +0000 (07:03 -0700)
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 <kenshin.choi@samsung.com>
wrt_app/src/web_application.ts

index 6187903..31f3915 100644 (file)
@@ -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();
   }