Closed Bug 638944 Opened 14 years ago Closed 6 years ago

Checkerboarding when changing Tabs

Categories

(Firefox for Android Graveyard :: General, defect, P1)

ARM
Android

Tracking

(fennec-)

RESOLVED WONTFIX
Tracking Status
fennec - ---

People

(Reporter: tarend, Unassigned)

References

Details

(Keywords: perf)

(1) load at least two tabs with content (internal pages don't show this behavior) (2) switch between tabs Result: you see a full-screen checkerboard pattern with every tab switch Expected: smooth tab switching, no checkerboarding
We intentionally discard the displayport for background tabs, to save memory (bug 589337). This is a trade-off; if we keep the rendered image cached, then we can display it faster on switching, but it will use more memory. As a compromise, it might be reasonable to keep the most recent 1 or 2 tabs cached, and discard background tabs only if there are more than that.
Blocks: 589337
Keywords: perf
But that would mean that we checkerboard as soon as you have more than 2 tabs? Say I am viewing tab1 and tap on tab2, could we somehow load tab2 in a cache and switch to it once it is completely loaded? Or would that seem like a big delay from the tap to showing the tab content?
(In reply to comment #1) > We intentionally discard the displayport for background tabs, to save memory > (bug 589337). This is a trade-off; if we keep the rendered image cached, then > we can display it faster on switching, but it will use more memory. > > As a compromise, it might be reasonable to keep the most recent 1 or 2 tabs > cached, and discard background tabs only if there are more than that. I don't think that's a reasonable compromise, even just holding one extra tab adds a lot of memory. If this we decide this is a problem we want to fix (and I don't think it is), we should just not switch tabs until the new tab is rendered. It'll make switching tabs "feel" slower though, so we'll have to do some magic transition effect to combat that. Regardless, this is not something I think we should be addressing this late in the game.
tracking-fennec: ? → 2.0-
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.