rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs
https://webextension.org/listing/tab-discard.html
Mozilla Public License 2.0
906 stars 79 forks source link

"Discard all pinned tabs on a browser or extension startup" setting not taken into account #266

Closed challet closed 2 years ago

challet commented 2 years ago

Looks close to #230 which is about unpinned tabs.

Happens on Firefox 96.0b10, mac OS 11.6.2.

With the following settings

{
  "chrome.storage.local": {
    "./plugins/blank/core.js": true,
    "./plugins/dummy/core.js": false,
    "./plugins/focus/core.js": false,
    "./plugins/force/core.js": false,
    "./plugins/new/core.js": false,
    "./plugins/next/core.js": false,
    "./plugins/previous/core.js": false,
    "./plugins/trash/core.js": false,
    "./plugins/unloaded/core.js": false,
    "./plugins/youtube/core.js": false,
    "audio": true,
    "battery": false,
    "check-delay": 30000,
    "click": "click.popup",
    "faqs": true,
    "favicon": false,
    "favicon-delay": 500,
    "force.hostnames": [],
    "form": true,
    "go-hidden": false,
    "idle": false,
    "idle-timeout": 300,
    "last-update": 1639450442672,
    "link.context": true,
    "log": false,
    "max.single.discard": 50,
    "memory-enabled": false,
    "memory-value": 60,
    "mode": "time-based",
    "notification.permission": false,
    "number": 0,
    "online": false,
    "page.context": false,
    "period": 600,
    "pinned": false,
    "prepends": "💤",
    "simultaneous-jobs": 10,
    "startup-pinned": true,
    "startup-release-pinned": false,
    "startup-unpinned": false,
    "tab.context": true,
    "trash.period": 24,
    "trash.unloaded": false,
    "trash.whitelist-url": [],
    "use-cache": false,
    "whitelist": [],
    "whitelist-url": [],
    "whitelist.session": []
  },
  "localStorage": {
    "click": "popup",
    "explore-count": "99"
  }
}
rNeomy commented 2 years ago

Please wait for the next release and reopen if not fixed. There is a new fix; https://github.com/rNeomy/auto-tab-discard/commit/2e7cf95f68579d0f142457610a37ae6e8a891af9