question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Firefox white flashing with dynamic theme since 4.9.40.

See original GitHub issue

Bug Report

Bug Description

Since the latest update, pages will flash white upon loading. Both foreground and background pages will flash white for a brief moment before the dynamic theme gets applied. This was not an issue before 4.9.40. Static filter continues to work fine.

Website Address

Any website with dynamic mode enabled.

Steps To Reproduce

Open website in foreground:

  • Page loads
  • White flash occurs
  • Dynamic theme is applied

or Open website in background:

  • Wait for page to fully load in background
  • Upon switch to the loaded tab, white flash occurs
  • Dynamic theme is applied

Expected Behavior

Not sure how it worked before the update, but background pages already had the dynamic theme applied when switching to tab.

Pages loaded in the foreground would honor the nglayout.initialpaint.delay configured in Firefox, and the dynamic theme would be applied before the page was shown, thus no white flashing.

System Information

  • OS: Windows 10 21H1
  • Browser: Firefox 94
  • Dark Reader Version: 4.9.40

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
racofercommented, Nov 4, 2021

Hi @bershanskiy and @Gusted , thanks for acting so quickly on this one. I have tested both builds:

  • Build 1: same as before, unfortunately. The white flashes occur the same way as with the 4.9.40 release;
  • Build 2: this one appears to have fixed the issue. Now I get the same behavior as with 4.9.39;

I will continue testing with Build 2 for the rest of the day and watch for anything odd, but while I could instantly spot the problem with 4.9.40, now with Build 2 I’m yet to notice any white flashes. Thanks!

1reaction
racofercommented, Nov 4, 2021

I will like to give my thought on a possibility that this might be related to the recent released Firefox v94, as @bershanskiy mentions that it doesn’t occur on chromium 🤷🏽 just a possibility to consider.

But version 4.9.39 works fine with Firefox 94, so that is not likely the case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

White flash between page loads · Issue #1219 - GitHub
If using Firefox, go to preference -> fonts and colors -> colors, setting the colors and choosing "always". This should solve white flash...
Read more >
How to stop Firefox from flashing white screen while page is ...
Go to duckduckgo in a new tab, do a search for anything and you'll see the screen flash white before loading results. I...
Read more >
1488384 - Bright white flashes on opening new tabs and page ...
Bright white flashes on opening new tabs and page reload when using Dark Mode or Firefox Dark theme.
Read more >
Website flashes on then screen goes all white. website works ...
I have been accessing a particular website for ages. Now it flashes on the screen then goes all white. Problem started several days...
Read more >
Firefox lag and flickering (blinking). - Mozilla Support
Hi, try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that temporarily turns off...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found