App call window.open() to create more window, we will
show last window, but if we call show(), visibility_status_
is true, then WRTNativeWindow:Show() will return directly, so
use MoveTop() instead, then app focus will be set again, it's
necessary in Aura window.
Native Side:
https://review.tizen.org/gerrit/299800/
Change-Id: I2f9dac220beadd501e895f65ba6cae36c956ccca
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
this.windowList.splice(index, 1);
if (!this.inQuit && index === this.windowList.length && this.windowList.length > 0) {
let lastWindow = this.windowList[this.windowList.length - 1];
- lastWindow.show();
+ lastWindow.moveTop();
this.profileDelegate.focus(lastWindow.webContents);
}
});