Gray out tabs that are explicitly unloaded
Categories
(Firefox :: Tabbed Browser, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: gstoll, Assigned: gstoll)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
This would help visually distinguish them - right now the only way to see if something is unloaded is hovering over a tab and seeing whether there's a visual preview. The Tab Center Redux extension does this.
| Assignee | ||
Comment 1•1 year ago
|
||
This is pretty straightforward to do - just need to add a &[pending="true"] nested inside the .tabbrowser-tab section in browser/themes/shared/tabbrowser/tabs.css. But we need a decision from UX on how to style it. I'm also not sure if this can interact with themes or not.
| Assignee | ||
Comment 2•11 months ago
|
||
Note that this is behind a pref that is turned off right now - I'm
landing this so UX and a11y folks can more easily take a look at it.
Updated•11 months ago
|
| Assignee | ||
Updated•11 months ago
|
Comment 4•11 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•10 months ago
|
||
We're trying a few different things here behind prefs so UX can easily
experiment with it. When we make a decision I'll remove all prefs but
the one we go with.
Comment 7•10 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 8•10 months ago
|
||
This has been approved by UX, still needs an a11y review but that will
be easier if this change is in so folks can try it out.
Comment 10•10 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 11•10 months ago
|
||
This is what UX has decided makes sense, and will be much less disruptive
than dimming out all favicons on session restore. When we're ready the
default value of "browser.tabs.fadeOutExplicitlyUnloadedTabs" will be
true, and the default value of "browser.tabs.fadeOutUnloadedTabs" will
remain false.
Comment 12•10 months ago
|
||
Comment 13•10 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 14•9 months ago
|
||
| Assignee | ||
Comment 15•9 months ago
|
||
Description:
This feature lets users choose to unload tabs via an entry in the tab context menu. This change makes the favicon grayscale and 50% opacity to better indicate that the tab is unloaded.
I've attached a screenshot of what this looks like - in this screenshot the first and third tabs (Mozilla Support and Bugzilla Main Page) are unloaded.
How do we test this?
In a Nightly build, toggle the "browser.tabs.fadeOutExplicitlyUnloadedTabs" pref to true, then right-click on tabs to unload them.
When will this ship?
Tracking bug/issue: bug 1926389
Design documents (e.g. Product Requirements Document, UI spec): This is a proposal for a larger feature, but this bug is part of an MVP for that.
Engineering lead: Greg Stoll
Product manager: (none right now)
Please describe the accessibility guidelines you considered and what steps you've taken to address them: Sorry, I'm not sure how to apply contrast rules to an arbitrary favicon, so I haven't done any of these.
Describe any areas of concern to which you want the accessibility team to give special attention:
- Is this visual feedback accessible?
- When the user unloads a tab there is a short CSS transition to make the favicon "fade out". Should this be turned off if "prefers-reduced-motion" is set?
| Assignee | ||
Comment 16•9 months ago
|
||
Comment 17•9 months ago
|
||
Comment 18•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
| Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
Description
•