Closed Bug 1985832 Opened 11 months ago Closed 11 months ago

Tab thumbnails never update to the latest painted version of the site

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: jonalmeida, Assigned: petru)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][composable toolbar])

Attachments

(2 files)

Attached video reproducing the bug.mp4

Steps to reproduce

  1. Open a lazy-loaded website (most React websites).
  2. Refresh the page.
  3. While refresh is occurring, open the tabs tray.
  4. Observe.
  5. After the page is done loading, open the tabs tray.
  6. Observe.

Expected behaviour

  • At step 4, the thumbnail is that of what was currently painted - a partial page load.
  • At step 6, the thumbnail is that of what was currently painted - a full page load.

Actual behaviour

  • At step 4, the thumbnail is that of what was currently painted - a partial page load.
  • At step 6, the thumbnail is that of what was currently painted - the same partial page load.

Device information

  • Firefox version: Nightly 144.0a1 (Build #2016110823), b7573b229c2d2e6a660decc4e3ed7183c761f8e1
    GV: 144.0a1-20250826095322
    AS: 144.20250822050345
  • Android device model: Pixel 8a
  • Android OS version: Android 16

Any additional information?

  • This was previously implemented on the toolbar so that when we clicked the tab counter, we would update the thumbnail. This fixed the case for lazy-loading pages as well as for page scrolls that would mean the thumbnail needed to be updated during then as well.
  • See attached video of the bug being reproduced.

The tab counter can be clicked from both the toolbar, the navbar and the tabstrip.
A fix would have to cover all these scenarios.

Whiteboard: [
Whiteboard: [ → [fxdroid][group3][composable toolbar]

Seems like the buttons are configured correctly

  • for the tabstrip here
  • for the composable toolbar here

But the issue affects the composable toolbar because of instantiating the composable toolbar first in BaseBrowserFragment#initializeUI and then the thumbnails feature in BrowserFragment#initializeUI.
There are multiple ways so improve the execution order of these.

This will give it enough time to be initialized before being used.

Assignee: nobody → petru
Status: NEW → ASSIGNED
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e9384c86cbc5 https://hg.mozilla.org/integration/autoland/rev/bc6aa2db9575 Lazy load the thumbnails feature in the composable toolbar r=android-reviewers,harrisono
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: