White screen splashes when using dark mode #1355
-
Hi guys! That is basically a Chromium issue, that was half-fixed and broken again by its devs. P.S. - Thanks again for the best browser in the universe. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
You could first test one of the dark mode new tab extensions, like this one: https://github.com/dandydanny/darknewtab – it uses the mechanism described here (Overriding Chrome pages) Or, if that is not used for opening a link in a new window/tab (probably isn't) – try looking in one of these directories of the unpacked sources: Although, the background for opening a link in an empty new window/tab might be defined somewhere else in |
Beta Was this translation helpful? Give feedback.
-
Thanks for your time Kramred, although looks like the white flash happens much earlier than this code gets run.
|
Beta Was this translation helpful? Give feedback.
-
Relevant (old) patch, which I link because it contains references to (old) issues and threads on this (old) problem. |
Beta Was this translation helpful? Give feedback.
-
Okay, I think I found what controls this → Themes The minimal way to change only the background color of new windows/tabs to {
"manifest_version": 2,
"version": "3",
"name": "ntp_background_000",
"theme": {
"colors": {
"ntp_background": [0, 0, 0]
}
}
} See the article What are themes? and e.g. the source code of the Just Black Chrome Theme with the following {
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"version": "3",
"name": "Just Black",
"description": "Midnight monochrome",
"theme": {
"colors": {
"frame": [ 0,0,0],
"toolbar": [45,45,45],
"ntp_background": [0,0,0],
"tab_text": [255,255,255],
"bookmark_text": [255,255,255],
"tab_background_text": [255,255,255],
"tab_background_text_inactive": [ 255,255,255],
"tab_background_text_incognito": [ 255,255,255 ],
"tab_background_text_incognito_inactive": [ 255,255,255],
"ntp_text": [125,134,142]
},
"tints" : {
"buttons": [ 0.2, 0.2, 0.9 ],
"frame_incognito": [ -1, -1, -1 ],
"frame_inactive": [ -1, -1, -1],
"frame_incognito_inactive": [ -1, -1, -1]
}
}
} You can revert the Theme in The Chromium source file chrome/browser/themes/browser_theme_pack.cc specifies the "Strings used by themes to identify colors in the JSON." |
Beta Was this translation helpful? Give feedback.
-
Probably something's fixed on version 95, portable Linux version.
At least now, I can resize the UC window on youtube and other sites, wait for long DNS responces and static contents load, and finally there are no white splashes. The canvas begins drawing black, according to my KDE theme. Thanks everyone! |
Beta Was this translation helpful? Give feedback.
Probably something's fixed on version 95, portable Linux version.
Running UC as:
At least now, I can resize the UC window on youtube and other sites, wait for long DNS responces and static contents load, and finally there are no white splashes. The canvas begins drawing black, according to my KDE theme. Thanks everyone!