sailfishos/sailfish-browser

Create a preference for tab hiding

Opened this issue · 0 comments

Currently the tab/window hiding functionality can be enabled and disabled by setting the showHidden flag in the QML in TabView.qml:

https://github.com/llewelld/sailfish-browser/blob/e2b97dadf035ee3d94dd35264b2694934b858ef3/apps/browser/qml/pages/components/TabView.qml#L117C26-L117C26

  model: TabFilterModel {
      sourceModel: tabItem.privateMode ? webView.privateTabModel : webView.persistentTabModel
      showHidden: false
  }

To allow this to be set dynamically by the user we should create a preference that allows this to be configured using about.config.