Closed Bug 56507 Opened 24 years ago Closed 24 years ago

Color problem with Classic Skin and GTK Themes

Categories

(SeaMonkey :: Themes, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 57429

People

(Reporter: npilon, Assigned: bugs)

References

Details

Attachments

(3 files)

I've run into a rather nasty problem with the classic theme and some GTK skins. The preferences dialog fonts seem to change color according to user preferences just fine, but the list box backgrounds don't. If your theme happens to set the default foreground color to white, this makes the preferences stuff pretty much unusable. The browser fonts in this skin also look abnormally large, but I'm not sure if this is a related problem or a preferences setting.
Screenshot please? (preferably with a GTK app alongside) Also, what build id? "list boxes" sounds like something that should be using -moz-field (bug 53723). If you can point out someplace where the background is incorrectly hardcoded as white, it should be easy to make a patch. The font issue is definetly unrelated, check your DPI prefs and search for the bugs filed on it.
Summary: Bad problem with Classic Skin and GTK Themes → Color problem with Classic Skin and GTK Themes
I've attached a couple of images (there's some corruption in one of them on my display, but not when I try to view the file locally... Not sure what caused that) to show what I mean. If these aren't quite enough, I can provide more.
Attached patch Patch to fix itSplinter Review
The above patch corrects a bunch of places that had #FFFFFF or #000000 instead of CSS2 colors, and fixes it here. Since this is classic, sending over to Ben for a look.
Assignee: hangas → ben
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch
*** Bug 59562 has been marked as a duplicate of this bug. ***
The attached patch works just fine and shouldn't break anything when applied correctly. Ready for the trunk IMO.
Given the advent of -moz-field, which came after the addition of unix specific stylesheets for areas where 'Window' being grey screwed up textfields, I would suggest the unix versions of these sheets just be trashed and they use the windows ones again.
It seems that the UNIX versions of the sheets are gone (or at least I can't find any reference to "unix" anywhere in the classic chrome directory) but the sheets are still using direct color definitions (#FFFFFF) instead of -moz-field (Linux build 2001010512).
duplicate *** This bug has been marked as a duplicate of 57429 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe of bug 57429: "Win classic theme should support system colors"
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: