Bug 172534

Summary: Konqueror and Default Colors
Product: [Applications] konqueror Reporter: eli
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: finex, rdieter
Priority: NOR    
Version: 4.1.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description eli 2008-10-10 19:04:53 UTC
Version:            (using KDE 4.1.2)
Installed from:    Fedora RPMs

Hi

I think it would be a good idea to be able to tell Configure Konqueror to dsiplay a specified color scheme in the browser if the body tag is empty. This is particularly useful when displaying directory lists from apache which do not usually have any parameters in the body tag.

Why you may ask? I just changed my color scheme to Obsidian Coast and apache generated file lists have dark text on a black background, which makes it impossible to read.

Changing the default css doesn't seem to work.

Thank you for your consideration.
Comment 1 eli 2008-10-10 19:05:27 UTC
Oh... by the way. Firefox does this quite well.
Comment 2 eli 2008-11-16 08:47:54 UTC
Seems to be working now in 4.1.3
Comment 3 eli 2008-11-16 08:55:37 UTC
The custom style sheet goes overboard. Even though I've kept the Use same color fo all test off, there are some sites that will only display the colors defined ad default colors.

This includes, but is not limited to konquerors introductory start page.
Comment 4 eli 2008-12-12 09:15:34 UTC
Problem persists in 4.1.8
Comment 5 eli 2008-12-26 07:33:39 UTC
Workaround....

Create a text file in a convenient location (ie alternative.css).

Add:
	body {background-color: #FFFFFF;}

And use under "Use user-defined stylesheet"
Comment 6 eli 2009-02-04 10:48:06 UTC
Problem persists in 4.2

I also had to modify form elements so my alternative .css now contains.

body {background-color: #FFFFFF;}
select {background-color: #FFFFFF; color: #000000;}
input {background-color: #FFFFFF; color: #000000;}
textarea {background-color: #FFFFFF; color: #000000;}
Comment 7 eli 2009-03-01 09:43:04 UTC
I just noticed that this problem effects kmail as well. I will be opening up a bug report under kmail. However, I think that this is a general khtml problem.
Comment 8 eli 2009-03-05 20:52:35 UTC
Problem persists in KDE 4.2.1
Comment 9 eli 2009-04-03 08:15:33 UTC
Problem in kmail persists. I think that this due to the fact that most email clients when sending html messages send headerless html
Comment 10 eli 2009-04-03 08:18:05 UTC
So. Problem presists in KDE 4.2.2
Comment 11 FiNeX 2009-09-08 14:19:36 UTC

*** This bug has been marked as a duplicate of bug 47320 ***