Comment 7 for bug 1659435

Revision history for this message
Olivier Tilloy (osomon) wrote :

The new tab view is superimposed on the webview when newTabViewLoader.active is true.
When switching tabs, the following code (in Browser.qml) is responsible for unloading the new tab view if the tab we’re switching to has contents loaded:

Connections {
  target: browser
  onCurrentWebviewChanged: {
    if (currentWebview) {
      var tab = tabsModel.currentTab
      newTabViewLoader.active = !tab.url.toString() && !tab.restoreState
    }
  }
}

I’m not seeing any indication in the logs that this code fails to be executed.