Nighttab: Flash

Created on 12 Jul 2019  路  9Comments  路  Source: zombieFox/nightTab

Hello! Sorry to open a issue again. But I made a 5 second video of the screen flashing white on opening a new tab. I saw in the commits its fixed but I'm still getting them

https://youtu.be/9SH7PLFLTK8

WIP help wanted investigate

All 9 comments

Hi, thanks for the details and the video.

The issue is not really "Done", when the previous ticket was closed it was automatically moved to the "Done" column.

I'm been researching ways to tackle the white flash. Some of the solutions are in the repo but not released to the Chrome/Firefox extensions yet. I release once I have a stable tested build. Which is not ready yet.

The current solution, (found in the index file) works in Chrome but not Firefox. The more I research into it the more I think it may not be possible to prevent the white flash in Firefox without adding custom userChrome.css overrides. But watch this space. I'll keep researching to find a better solution.

Is the current solution live on the demo (https://zombiefox.github.io/nightTab/)? I still see the flash on both Chrome and FF on there.

I have the aforementioned userchrome.css overrides on FF and I don't usually get white flashes, as you can see here. I also have a Dark Reader extension for a full dark experience. (I should have disabled that for the video, but even without it I don't get white flashes)

I get the White Flash on the extension, the demo, as well as local file, all on FF.
With the Dark Reader extension I mentioned the flash is no longer white, but unfortunately, only when loading from the demo or locally, because the extension can't act on protected pages, like ones from another extension.

Whoa, thanks for all the extra information. I'll do some tests with each of those Add Ons. 馃憤

Unfortunately white flash is back on FF (v68 on Win10) with the latest release 3.69.0 (Extension). It started happening again as soon as I updated from 3.61.3 and nothing else has changed.

The white flash is a long term known issue with Chrome btw. If you find a solution, let me know, but otherwise I wouldn't make this specific to the extension, as I think it's a known issue with Chrome that not many solutions have proven dependable to fix.

In some ways, it _is_ specific to the extension. One reason is that I don't see white flash on https://zombiefox.github.io/nightTab/ because it's still on 3.61.0. Another is that there are fixes for the white flash but they don't normally work with extension pages because they're protected pages.

For Chrome & FF there's DarkReader extensions that remove it. For Chrome there's also WhiteSlash if you don't want full dark pages (afaik, since I don't use Chrome).

For FF, there's fixes using userchrome.css. Shadowfox includes all of them so you'll likely never see a white flash with it on.

None of these work properly on Extension pages though. zombieFox added something in v3.61.x which fixed the white flash issue (at least on FF w/ extension, I didn't check Chrome) but the thing's back with v3.69.0. Also I can't seem to load 3.69.0 as local file so I can't check that.

Now instead of flashing white, it flashes with the theme background color or the custom background color that you set in the background settings. That works out wonderfully!

In firefox I've worked around this by adding the following setting to about:config

ui.systemUsesDarkTheme

and set it to 1 (Number, 0 is disabled)

It works for me as I do actually use a dark theme with my OS, possibly less palatable for someone with a regular theme.

I feel I've done as much as I can about this. Closing the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TOLIN987 picture TOLIN987  路  5Comments

zethexx picture zethexx  路  6Comments

Q-out picture Q-out  路  5Comments

ronmurphy picture ronmurphy  路  5Comments

Jungack picture Jungack  路  5Comments