Bug 390316

Summary: Page background before loading should be set according to application colour scheme
Product: [Applications] Falkon Reporter: Kishore Gopalakrishnan <kishore96>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kishore Gopalakrishnan 2018-02-12 14:08:21 UTC
I am currently using falkon with the 'Linux default' theme, which takes the application colours configured in the desktop environment. I am also using a greasemonkey script that modifies the colours of webpages to be dark themed, and a dark application colour scheme. However, I still get flashes of white before a webpage loads. Ideally, the browser would set the default / empty page background to the colour set in the colour scheme. This would be helpful for people like me who prefer dark themes.

In case this would cause problems with webpages that don't specify the background colour, perhaps you could make this a user configurable option that is off by default, and can be enabled at the user's own risk. For instance, Firefox has an option to set the default background colour, IIRC. Something similar in falkon would be nice to have.
Comment 1 David Rosca 2018-02-24 17:54:35 UTC
Git commit a89a9a8ddce4e5f4ba96835876f304bd0f3ece65 by David Rosca.
Committed on 24/02/2018 at 17:00.
Pushed by drosca into branch 'master'.

WebView: Add support for changing default background color

M  +4    -0    src/lib/webengine/webview.cpp
M  +6    -0    themes/chrome/main.css
M  +6    -0    themes/linux/main.css
M  +6    -0    themes/mac/main.css
M  +6    -0    themes/windows/main.css

https://commits.kde.org/falkon/a89a9a8ddce4e5f4ba96835876f304bd0f3ece65