Bug 390316 - Page background before loading should be set according to application colour scheme
Summary: Page background before loading should be set according to application colour ...
Status: RESOLVED FIXED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-12 14:08 UTC by Kishore Gopalakrishnan
Modified: 2018-02-24 17:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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