Bug#562886: iceweasel: user.js prefs assimilated into prefs.js when no defaults
Mark Hedges
hedges at scriptdolphin.com
Mon Dec 28 21:10:43 UTC 2009
Package: iceweasel
Version: 3.5.6-1
Severity: normal
https://bugzilla.mozilla.org/show_bug.cgi?id=537004
While debugging http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549371 it was
suggested I add some ui prefs to user.js which are listed at
http://www.mozilla.org/unix/customizing.html#ui .
I tried adding the following blocks of settings to user.js but they had no
effect on the problem in that bug. Instead, they messed up the colors of the
application menus and buttons, but had no effect on HTML input element buttons.
/*
user_pref("ui.widgetBackground", "white" );
user_pref("ui.widgetForeground", "black" );
user_pref("ui.widgetSelectBackground", "orange" );
user_pref("ui.widgetSelectForeground", "cyan" );
user_pref("ui.widget3DHighlight", "purple" );
user_pref("ui.widget3DShadow", "darkgray" );
*/
/*
user_pref("ui.menu", "white");
user_pref("ui.menutext", "black");
user_pref("ui.buttonface", "yellow");
user_pref("ui.buttontext", "red");
*/
So I deleted user.js. But the application menus and buttons are still messed
up. So I looked in prefs.js - the new settings that I had previously put into
user.js had been added, presumably because they were not listed with defaults
in prefs.js before.
hedges at maggie:~/.mozilla/firefox/2pofhsv8.default$ grep 'user_pref("ui.'
prefs.js
user_pref("ui.buttonface", "yellow");
user_pref("ui.buttontext", "red");
user_pref("ui.menu", "white");
user_pref("ui.menutext", "black");
user_pref("ui.widget3DHighlight", "purple");
user_pref("ui.widget3DShadow", "darkgray");
user_pref("ui.widgetBackground", "white");
user_pref("ui.widgetForeground", "black");
user_pref("ui.widgetSelectBackground", "orange");
user_pref("ui.widgetSelectForeground", "cyan");
Removing the settings from prefs.js restored the colors of the app menus.
Reproducible: Always
Steps to Reproduce:
1. add settings to user.js which have no defaults in prefs.js, verify effects
2. remove user.js
3. try looking at the effects
Actual Results:
Settings input in user.js still apply even after user.js is deleted.
Expected Results:
Settings input in user.js should not continue to apply after user.js is
deleted.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-maggie+9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages iceweasel depends on:
ii debianutils 3.2.2 Miscellaneous utilities specific t
ii fontconfig 2.6.0-4.2 generic font configuration library
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-3 GCC support library
ii libglib2.0-0 2.22.3-1 The GLib library of C routines
ii libgtk2.0-0 2.18.3-1 The GTK+ graphical user interface
ii libnspr4-0d 4.8.2-1 NetScape Portable Runtime Library
ii libstdc++6 4.4.2-3 The GNU Standard C++ Library v3
ii procps 1:3.2.8-2 /proc file system utilities
ii psmisc 22.8-1 utilities that use the proc file s
ii xulrunner-1.9.1 1.9.1.5-2 XUL + XPCOM application runner
iceweasel recommends no packages.
Versions of packages iceweasel suggests:
ii latex-xft-fonts 1.6.5-1 TrueType versions of some TeX font
ii libkrb53 1.6.dfsg.4~beta1-13 Transitional library package/krb4
pn mozplugger <none> (no description available)
pn ttf-mathematica4.1 <none> (no description available)
ii xfonts-mathml 3 Type1 Symbol font for MathML
pn xprint <none> (no description available)
ii xulrunner-1.9.1-gnom 1.9.1.5-2 Support for GNOME in xulrunner app
-- no debconf information
More information about the pkg-mozilla-maintainers
mailing list