Bright white flashes on opening new tabs and page reload when using Dark Mode or Firefox Dark theme
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: m_khvoinitsky, Assigned: ke5trel)
References
(Depends on 1 open bug)
Details
Attachments
(5 files, 1 obsolete file)
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Comment hidden (advocacy) |
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 15•6 years ago
|
||
Assignee | ||
Comment 16•6 years ago
|
||
Now that Bug 1519548 has arrived we should style #tabbrowser-tabpanels to respect the in-content dark color scheme which will avoid the following white flashes:
- Opening links in new tabs and windows (long white flash).
- Opening Preferences, Addons, Troubleshooting Information, Task Manager etc.
- Restoring discarded tabs.
- Maximizing/resizing window (white flash on right/bottom sides of window).
- Closing sidebar (white flash on right side of window).
privacy.resistFingerprinting.letterboxing
(white frame around content).- Opening and closing DevTools.
- Leaving Customize mode and returning to content tab.
Comment 18•6 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d1d88a793a3
Style the background of #tabbrowser-tabpanels for dark in-content color scheme to avoid white flashes. r=dao
Comment 19•6 years ago
|
||
bugherder |
Comment 20•6 years ago
|
||
(In reply to Andreea Pavel [:apavel] from comment #19)
My firefox is up to date (i.e updated) and there are no changes in this situation what so ever, then why it has been marked as "Resolution: FIXED"?
Comment 21•6 years ago
|
||
In which version branch are you? If you're using the Nightly(v68) version, you can expect to see this fixed by the next Nightly build (tomorrow).
Otherwise, it will take some more time(this is why it is set to status-firefox68 -> fixed). It is fixed in the version tree of 68.
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Hi. I am using today's Nightly 68.0a1 (2019-04-17) (64-Bit) and the bright flashes are still appearing in Dark (Theme) Mode when I open a New Tab.
I am using macOS 10.14.4 on a MacBook Air NonRetina.
Comment 23•6 years ago
|
||
Is browser.in-content.dark-mode
set to true for you in about:config?
Comment 24•6 years ago
|
||
(In reply to Jens Hausdorf :jens1o [ni? me] from comment #23)
Is
browser.in-content.dark-mode
set to true for you in about:config?
I toggled it to true now, relaunched Nightly, but I see the same result: It is still flashing bright :(
Comment 25•6 years ago
|
||
+screencast
Assignee | ||
Comment 26•6 years ago
|
||
(In reply to Mehmet from comment #24)
I toggled it to true now, relaunched Nightly, but I see the same result: It is still flashing bright :(
You also need to be using a dark OS theme or have ui.systemUsesDarkTheme = 1
. Note that there will still be white flashes when restoring unloaded about
tabs (Bug 1408122) and rapidly creating new tabs like in the video (Bug 1510567).
Comment 27•6 years ago
|
||
(In reply to Kestrel from comment #26)
(In reply to Mehmet from comment #24)
I toggled it to true now, relaunched Nightly, but I see the same result: It is still flashing bright :(
You also need to be using a dark OS theme or have
ui.systemUsesDarkTheme = 1
. Note that there will still be white flashes when restoring unloadedabout
tabs (Bug 1408122) and rapidly creating new tabs like in the video (Bug 1510567).
Ah, okay. Thanks, that is working for me now when I also switch in addition to System Dark Mode. (And thanks, for the report numbers regarding the open issues.)
Question: Will the bright flashes also be fixed for System Light Mode when using the Dark Theme? It is at least mentioned in the title of this bug report "...or Firefox Dark theme". Is there a another bug number for it? Thanks in advance.
Comment 28•6 years ago
|
||
(In reply to Kestrel from comment #26)
You also need to be using a dark OS theme or have
ui.systemUsesDarkTheme = 1
. Note that there will still be white flashes when restoring unloadedabout
tabs (Bug 1408122) and rapidly creating new tabs like in the video (Bug 1510567).
So this bug is not fixed, i have the same problem on linux, gtk theme being white.
What did your changes "Style the background of #tabbrowser-tabpanels for dark in-content color scheme to avoid white flashes"
do? Even if it did something, isn't this a partial fix?
Assignee | ||
Comment 29•6 years ago
|
||
Create ui.systemUsesDarkTheme = 1
in about:config
and it works with light OS theme.
This bug fixes the majority of commonly encountered white flashes, the other two bugs are relative edge cases. The approach used is the same as in the original patch submitted by the bug creator in Comment 1.
Comment 30•6 years ago
|
||
(In reply to Kestrel from comment #29)
Create
ui.systemUsesDarkTheme = 1
inabout:config
and it works with light OS theme.
Yes, that works for me. Thanks.
Comment hidden (me-too) |
Comment 32•6 years ago
|
||
Forgot to mention that I am trying this in Fedora 30 using OS adwaita-dark dark theme.
Comment 33•6 years ago
|
||
(In reply to hueydai from comment #31)
This is still happening for me: I am using Firefox darkmode + Dark Reader plugin to render all pages dark. Screen flashes white when I click on links, when I reload pages, and when I open tabs too quickly.
It's jarring enough that I have not fully switched from chrome to firefox.
Are you using Firefox 68? Are you using the preferences tweaks mentioned above?
Comment hidden (me-too) |
Updated•5 years ago
|
Comment 35•5 years ago
|
||
I updated to Firefox 68, and unfortunately, this bug seems to persist. I still get the white flashes while opening new tabs or reloading pages. I tried resetting my Firefox settings and doing a clean install of Firefox. These actions did not help.
Comment 36•5 years ago
|
||
(In reply to Andreea Pavel [:apavel] from comment #19)
This is clearly not resolved, because:
- The new tab is still white even after selecting the default dark theme.
- Pages waiting to be load is still white.
I have installed the beta. Version is: 68.0b14 (64-bit)
The only way to resolve this is to install Chrome.
Assignee | ||
Comment 37•5 years ago
|
||
This isn't enabled in Firefox 68 and requires changing extra settings as described in Comment 23 and Comment 29.
The white flashes that are resolved by this bug are described in Comment 16, other white flashes are different bugs that have been mentioned in Comment 26.
Comment 38•5 years ago
|
||
I am still seeing a white background for new tabs. I am using 75.0 on Ubuntu and I configured both properties that are mentioned in the comments. For the recording, I ran in private mode, not sure if this is normally done here. Usually I use the DarkReader addon. This does not happen when I open a new tab with Ctrl-T, only when I click on links that open in a new tab. Should this be a different bug ticket, then? I am also not sure if this is happens on all pages.
Comment 39•4 years ago
|
||
Important (and confusing) seems to be that ui.systemUsesDarkTheme = True
(Boolean) does not work, only ui.systemUsesDarkTheme = 1
works (and it switches the about:config
page itself to dark immediately).
Maybe that's your issue, f.v.claus? Also some other pages incorrectly recommend ui.systemUsesDarkTheme = True
.
Why is it this way, btw? Would a Boolean not make sense here?
Comment 40•3 years ago
|
||
I agree this:
(In reply to Niklas Hambüchen from comment #39)
Important (and confusing) seems to be that
ui.systemUsesDarkTheme = True
(Boolean) does not work, onlyui.systemUsesDarkTheme = 1
works
maybe confusing I was puzzled too.
Description
•