Closed Bug 24733 Opened 26 years ago Closed 26 years ago

[dogfood][beta]browser turns pink

Categories

(SeaMonkey :: Preferences, defect, P2)

x86
Windows 98

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: german, Assigned: bugs)

References

Details

(Whiteboard: [PDT-])

Attachments

(4 files)

after having delat with bug 24662 and having changed the font dpi setting to no avail, I restarted seamonkey to see whether that would have an effect. Now , I kid you not, all displayed HTML pages as well as some browser and mail XUL turned pink (see atchment). Only the HTML colors that were not set by the page author were affected, in other words the HTML default colors. I believe this is related to prefs becuase: a) it did not seem to affect my other profiles b) it happened after changing one pref (see bug 24662) c) browser default colors is a pref. Somehow prefs.js could have been whacked?
Attached image screenshot
Now quickly scanning my prefs.js for that profile reveals: [snip...] user_pref("browser.anchor_color", ""); user_pref("browser.background_color", ""); user_pref("browser.bookmark_columns_win", "v1 3 1:4628 2:3705 4:1665 3:1999"); user_pref("browser.bookmark_window_rect", "74,23,626,516"); user_pref("browser.cache.check_doc_frequency", 1); user_pref("browser.cache.disk_cache_size", 3000); user_pref("browser.download.dir", "C:\\WINDOWS\\Desktop\\"); user_pref("browser.download_directory", "C:\\WINDOWS\\Desktop\\"); user_pref("browser.foreground_color", ""); [snip...] Is that a problem?
aHA! now I think I know what you're talking about. I may have a fix for this in my tree at the moment. let me run some quick tests on this and I'll get back to you...
hm... I cant seem to reproduce this. maybe its not what I thought.. I pasted the prefs you give into my prefs file and I dont experience this problem. can you attach your entire prefs file?
everytime i restart the base colors change now. I'll add two attachment s if you need proof - first it turned yellow this morning, after having installed a new fresh build 2000012408, after another restart it turned orange.
Priority: P3 → P2
Summary: [dogfood]browser turns pink → [dogfood][beta]browser turns pink
haha! it seems to be related to colour prefs. Lemme see if I can hack around this in the FE...
Assignee: don → ben
ben's on the case, m14.
Target Milestone: M14
Putting on pdt- radar per pdt mtg today. Not a blocker to daily use.
Whiteboard: [PDT-]
Putting on pdt- radar per pdt mtg today. Not a blocker to daily use.
okay I think I have a fix to prevent this from happening. it doesnt cure the random colour setting ability of colour prefs, it doesnt affect the fact that setting a bg/fg colour in prefs turns the CHROME that colour (I opened a separate bug on that last night). It does however prevent you from ever setting a colour pref to "" (& => avoid getting random weird colour selections). holding for tree reopening...
Status: NEW → ASSIGNED
I have checked in a fix that should prevent this from happening, from the FE by preventing the PrefWindow from accidentally setting empty strings to colour prefs. this does not stop you going and editing pref.js and putting in "" yourself, but that's a fringe case. Another bug has been opened on the chrome being affected by color changes in prefs.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
i no longer see this...
Status: RESOLVED → VERIFIED
*** Bug 24919 has been marked as a duplicate of this bug. ***
*** Bug 27185 has been marked as a duplicate of this bug. ***
Bulk move of all Pref UI component bugs to new Preferences component. Pref UI component will be deleted.
Component: Pref UI → Preferences
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: