Closed Bug 483528 Opened 17 years ago Closed 16 years ago

Page background flashes light gray before opening a new empty tab

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 543306

People

(Reporter: j.moz, Unassigned)

Details

(Keywords: polish)

Attachments

(2 files)

When you open a new empty tab, the page background briefly flashes light gray before ending up white. It shouldn't flash. The slower the computer, the more noticeable the screen flashing is. The flashing can be very annoying, and it makes opening a new tab seem slower than it is. Steps to reproduce: 1) Go to google.com 2) Look very closely at the white background color of the page 3) While still looking at the background color, press Ctrl-T (or Cmd-T) to open a new tab What happens: page background color flashes light gray before turning white. Expected: page background color should stay white, and not flash. The color that flashes on the screen is -moz-Dialog, which is light gray ("tan", #ece9d8) on Windows XP. I can see this on Windows XP and Linux. Didn't test on Mac OS X. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090315 Minefield/3.2a1pre Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090315 Minefield/3.2a1pre
This extension makes it much easier to notice the flashing by changing the color from light gray to red.
Attached file fix the flashing
This extension fixes the flashing by changing the color from light gray to white. It does what putting "tabpanels { background-color: white !important; }" in userChrome.css does.
tabpanels { background-color: white !important; } or browser { background-color: white; } in userChrome.css fixes the flashing. I also noticed these side effects (or bonus fixes) when using either of the above userChrome.css fixes: - the "page loading" background color changes from light gray to white (check "When I open a link in a new tab, switch to it immediately" and open a link in new tab to test) - a blank new tab that opens because of bug 102380 is now white instead of light gray (open attachment 62199 [details] in a new tab to test) Also, changing the line background-color: -moz-Dialog; to background-color: white; in chrome://global/skin/tabbox.css under tabpanels {} fixes this on Windows XP and Linux (that's what "tabpanels { background-color: white !important; }" in userChrome.css does). Is that the right fix?
Looks like this got fixed by bug 543306.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: