Open Bug 2059571 Opened 1 month ago Updated 14 days ago

Tracker count in URL bar animates open on every tab switch, even when switching between two tabs showing the same site

Categories

(Firefox :: Protections UI, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

(Whiteboard: [feltpy-show-trackers])

Attachments

(2 files)

STR:

  1. In a fresh Firefox profile, open two tabs, both viewing a site that has some tracker that triggers our tracker-count UI.
    e.g. https://www.moody.edu/ gives me a tracker-count between 1 and 3 (with default ETP settings and no adblocker installed).
    Or you can use e.g. https://www.yahoo.com/ which gives me a tracker count of >100 (not always the same exact number; depends on exact ad load etc.)
  2. If the long-form tracker count displays (N trackers blocked): either wait ~20 seconds or shrink your window horizontally, so that it collapses down to just a number.
  3. Switch back and forth between the tabs with Ctrl+Tab.

ACTUAL RESULTS:
The tracker-count animates or flickers out-of and back-into existence on every tab-switch (even though I'm switching back and forth between two tabs that were both already showing it)

EXPECTED RESULTS:
The tracker count shouldn't disappear-and-then-reappear when I'm switching between these tabs. Probably it should just get swapped atomically with the rest of the URL bar contents (which in this case means you wouldn't see any change as you switch tabs, other than maybe the number if one tab had 2 trackers blocked and the other had 3)

I'm using Firefox Nightly 155.0a1 (2026-07-29) (64-bit) on Ubuntu 26.04

My screencasting tool doesn't record with a high enough frame-rate to capture all of the flickering that I actually see on my screen, but it does show some of it; e.g. just after t=2s, ther's a moment where the number 1 disappears and only a shield shows, before the 1 quickly reappears.

The user-facing issue here isn't so much about the tracker count itself, but rather that the rest of the URL bar gets jiggled around due to this rapid flicker.

Attachment #9620102 - Attachment description: screencast of bug → screencast of bug (tracker count flickers very briefly)

Sometime the tracker count flickers as shown in my previous screencast; other times it animates smoothly into existence as shown here.

The smooth-animation looks less glitchy perhaps, but it still feels unnecessary/unexpected.

The severity field is not set for this bug.
:emz, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(emz)

The severity field is not set for this bug.
:emz, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(emz)

Vincent, could you please take a look? Feel free to set priority / severity too.

Flags: needinfo?(emz)
Flags: needinfo?(bugzilla.mozilla.org)
Whiteboard: feltpy-show-trackers
Whiteboard: feltpy-show-trackers → [feltpy-show-trackers]
Severity: -- → S4
Type: defect → enhancement
Flags: needinfo?(bugzilla.mozilla.org)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: