Visual glitch when switching to background tab if zoom changed after page loaded

NEW
Unassigned

Status

()

9 years ago
8 years ago

People

(Reporter: sylvain.pasche, Unassigned)

Tracking

({polish})

Trunk
x86
All
polish
Points:
---

Firefox Tracking Flags

(blocking2.0 -)

Details

(Reporter)

Description

9 years ago
If a page is loaded in the background and the zoom level of that page's domain is changed afterward, when switching to the background tab the page is visible with the old zoom level for a few moment and then is redrawn with the new zoom level. This causes the whole page to jump.

Steps to reproduce:
1. Visit a site like http://en.wikipedia.org/wiki/Main_Page.
2. Load a couple of pages from the same site in the background by
middle-clicking e.g.
  http://en.wikipedia.org/wiki/Mozilla
  http://en.wikipedia.org/wiki/Mozilla_Firefox
  http://en.wikipedia.org/wiki/Page_zooming
3. Set text-zoom to larger or smaller than normal by pressing Ctrl + or Ctrl -.
4. Switch to the background tabs.
5. Optionally repeat steps 3, then 4.

Note: this is different from bug 510753 because the zoom level is changed *after* the background tabs have loaded.

This issue is not visible on Linux and OSX. See bug 510753 comment 5 and bug 510753 comment 9 for some explanations.
I see this on OSX too.
OS: Windows XP → All
Summary: [Windows] Visual glitch when switching to background tab if zoom changed after page loaded → Visual glitch when switching to background tab if zoom changed after page loaded
blocking2.0: --- → ?
Apparently the cause for this is setting the zoom on tab after drawing it. We should instead set the zoom before drawing it.

Comment 3

8 years ago
Not blocking, but I'd take an appropriately-safe patch.
blocking2.0: ? → -
You need to log in before you can comment on or make changes to this bug.