Bug 76053 - check boxes and radio buttons in Konqueror web forms use different colors than check boxes and radio buttons in applications
Summary: check boxes and radio buttons in Konqueror web forms use different colors tha...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 19:22 UTC by John Stewart
Modified: 2012-06-20 09:01 UTC (History)
1 user (show)

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 John Stewart 2004-02-24 19:22:31 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          3.3.2 
OS:          Linux

Check boxes and radio buttons in Konqueror web forms use:
Standard Background as their background color and 
Button Text as their foreground color

Check boxes and radio buttons in "normal" applications use:
Standard Background as their background color and
Standard Text as their foreground color

This can result in unusable radio and check box buttons in web forms with color schemes such as the following:
[Color Scheme]
Name=dark blue white
activeBackground=65,101,148
activeBlend=0,40,74
activeForeground=255,255,255
activeTitleBtnBg=66,103,148
alternateBackground=0,66,123
background=66,103,148
buttonBackground=66,103,148
buttonForeground=255,255,255
contrast=8
foreground=255,255,255
frame=66,103,148
handle=66,103,148
inactiveBackground=66,103,148
inactiveBlend=74,113,164
inactiveForeground=0,42,78
inactiveFrame=66,103,148
inactiveHandle=66,103,148
inactiveTitleBtnBg=66,103,148
linkColor=0,0,192
selectBackground=92,179,255
selectForeground=0,0,0
visitedLinkColor=128,0,128
windowBackground=255,251,251
windowForeground=0,0,0

To reproduce apply the above color scheme and then visit a web page that uses check boxes and/or radio buttons in forms such as:
http://www.echoecho.com/htmlforms09.htm (check boxes)
http://www.echoecho.com/htmlforms10.htm (radio buttons)

I think the easiest fix would be to make the make web form check boxes and radio buttons use Standard Text as their foreground color.

P.S. The above color scheme was created to get around the fact that the default Dark Blue color scheme results in many web pages being nearly unreadable as they render with black text on a dark blue background.  I'm guessing that's "intended" behavior?
Comment 1 Philip Rodrigues 2006-08-29 15:51:51 UTC
This is still the case in r575787, but I'm not sure if it's a bug or intended behaviour
Comment 2 lostson 2006-08-30 18:51:35 UTC
 I've noticed this too as I like to use darker color schemes and konq will render web pages in your color scheme and make them unreadable.
Comment 3 Christian Nitschkowski 2006-10-31 18:55:35 UTC
I guess "rendering web pages without their own colour scheme with the desktop's colour scheme" is intended behaviour.
What should one do about this?
When I choose unreadable colours on my web page it's a bug in my weg page, not in Konqueror.
It's the same when I choose only a black foreground colour on my web page but don't set the pages background as I expect the user to have a white background by default.
I often have some leight brown and orange colours on my desktop - there are many websites that forget to set their background to white.
Comment 4 Nic Gould 2008-04-06 18:38:30 UTC
I've tried in 4.0.3 using all the available colour schemes included in system settings and could see all the check boxes and radio buttons on the example pages given. possibly still could be an issue with particular schemes though.
Comment 5 Michael Leupold 2008-04-16 10:30:44 UTC
I tried reproducing this. On 3.5.9 it turns out to be still the same. It's interesting that the colours on kde4 seem to behave just the the opposite.
Comment 6 Myriam Schweingruber 2012-06-20 09:01:15 UTC
Closing based on comment #4