Treestyletab: .discarded class for unloaded tabs is missing after updating to Firefox 87.0

Created on 24 Mar 2021  路  5Comments  路  Source: piroor/treestyletab

styles like these no longer work

tab-item.discarded {
  opacity: 0.75;
}
bug of Firefox itself

Most helpful comment

It looks to be a problem of Firefox itself. TST just respects "discarded" status of tab objects got via WebExtensions API. I don't know why it happens but Firefox sometimes return wrong "discarded" status for restored tabs.

This seems to be the case. Other add-ons like this one failed to see discarded tabs as well, but they both worked on another machine with Windows 10 instead of 7. I've reported this to Mozilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=1700708

All 5 comments

This is what I use and it still works.

:root .tab.discarded { opacity: 0.60; filter: blur(0.6px); background: rgb(75, 75, 75, 0.4); }

Oh, on a side note, I tried your CSS and it worked fine.

It looks to be a problem of Firefox itself. TST just respects "discarded" status of tab objects got via WebExtensions API. I don't know why it happens but Firefox sometimes return wrong "discarded" status for restored tabs.

yep, works here as well

image

It looks to be a problem of Firefox itself. TST just respects "discarded" status of tab objects got via WebExtensions API. I don't know why it happens but Firefox sometimes return wrong "discarded" status for restored tabs.

This seems to be the case. Other add-ons like this one failed to see discarded tabs as well, but they both worked on another machine with Windows 10 instead of 7. I've reported this to Mozilla here: https://bugzilla.mozilla.org/show_bug.cgi?id=1700708

Was this page helpful?
0 / 5 - 0 ratings