i'm using a dark theme in konqueror: white text ob black background when i open a new windows or links the page blinks for less than a secons: it showns first a white page then the black one. i ope that you can fix this. this causes me eye stain
A possibly relevant merge request was started @ https://invent.kde.org/network/konqueror/-/merge_requests/318
Git commit 94119d46f96c60045147c297db11c6e3c6742409 by Stefano Crocco. Committed on 21/04/2024 at 08:19. Pushed by stefanocrocco into branch 'master'. Choose background color of WebEnginePage according to default palette M +9 -0 webenginepart/src/webenginepage.cpp M +5 -0 webenginepart/src/webenginepage.h M +18 -0 webenginepart/src/webenginepartcontrols.cpp M +10 -0 webenginepart/src/webenginepartcontrols.h M +1 -0 webenginepart/src/webengineview.cpp https://invent.kde.org/network/konqueror/-/commit/94119d46f96c60045147c297db11c6e3c6742409
Unfortunately, the changes I made to make the white flash disappear had several unwanted consequences, so I'll have to remove or at least refine them. However, I'd like to better understand something: when you say you use a dark theme in Konqueror, do you mean you set a custom stylesheet (using the appearance page in Konqueror configuration dialog) or that you chose a dark colour theme for your desktop environment? In my tests, using a dark desktop theme doesn't have any effect on the colour of web pages: page background is still white and text is still black.
(In reply to Stefano Crocco from comment #3) > Unfortunately, the changes I made to make the white flash disappear had > several unwanted consequences, so I'll have to remove or at least refine > them. However, I'd like to better understand something: when you say you use > a dark theme in Konqueror, do you mean you set a custom stylesheet (using > the appearance page in Konqueror configuration dialog) or that you chose a > dark colour theme for your desktop environment? In my tests, using a dark > desktop theme doesn't have any effect on the colour of web pages: page > background is still white and text is still black. "do you mean you set a custom stylesheet" yes, that's what i mean. a dark background and a white text color.
Then I misunderstood your problem. I removed my previous changes, as they wouldn't solve your problem. What I'll do is to add an option in the Stylesheet page which allows you to change the background of the page: setting this to the same colour you use as background in your stylesheet should fix your issue.
Git commit 58f972a3ea82065884dd6af7a0992d859211670a by Stefano Crocco. Committed on 25/04/2024 at 08:47. Pushed by stefanocrocco into branch 'master'. Add settings to customize the background color for WebEnginePage M +120 -61 settings/konqhtml/css/cssconfig.ui M +50 -0 settings/konqhtml/css/kcmcss.cpp M +7 -0 settings/konqhtml/css/kcmcss.h M +19 -0 webenginepart/src/settings/webenginesettings.cpp M +2 -0 webenginepart/src/settings/webenginesettings.h M +2 -0 webenginepart/src/webenginepage.cpp M +8 -1 webenginepart/src/webenginepartcontrols.cpp M +1 -0 webenginepart/src/webenginepartcontrols.h https://invent.kde.org/network/konqueror/-/commit/58f972a3ea82065884dd6af7a0992d859211670a
Git commit 1ceea2895f3a6b69cbf14e7e97cc71e97a1c9114 by Stefano Crocco. Committed on 25/04/2024 at 09:00. Pushed by stefanocrocco into branch 'release/24.05'. Add settings to customize the background color for WebEnginePage (cherry picked from commit 58f972a3ea82065884dd6af7a0992d859211670a) 58f972a3 Add settings to customize the background color for WebEnginePage M +120 -61 settings/konqhtml/css/cssconfig.ui M +50 -0 settings/konqhtml/css/kcmcss.cpp M +7 -0 settings/konqhtml/css/kcmcss.h M +19 -0 webenginepart/src/settings/webenginesettings.cpp M +2 -0 webenginepart/src/settings/webenginesettings.h M +2 -0 webenginepart/src/webenginepage.cpp M +8 -1 webenginepart/src/webenginepartcontrols.cpp M +1 -0 webenginepart/src/webenginepartcontrols.h https://invent.kde.org/network/konqueror/-/commit/1ceea2895f3a6b69cbf14e7e97cc71e97a1c9114
thank you. I'm using manjaro testing branch, when they update konqueror to the latest version i will test it and tell you if the problem is fixed with me.