Re: Howto disable gecko's GTK themeing?
"L. David Baron" <[email protected]> Mon, 3 May 2010 14:10:53 -0700
| Newsgroups | gmane.comp.mozilla.performance |
|---|---|
| Message-ID | <[email protected]> |
On Monday 2010-05-03 14:08 -0700, L. David Baron wrote:
> On Monday 2010-05-03 22:45 +0200, Clemens Eisserer wrote:
> > Because of GTK's inability to act as a theme provider for applications
> > which require transparency information,
> > gecko does ugly hacks, which cause a lot of context switches and GPU stalls.
> > On sites with many GTK themed elements (buttons, input fields,
> > scrollbars), I get a noticeable hit in painting performance.
> >
> > Is there a way to disable gecko's GTK themeing, and instead let it
> > paint something plain & simple?
>
> I thought we had a hidden pref for this, but I can't seem to find
> one.
Er, sorry, we do have a pref. So either go to about:config and
create a new boolean pref with the name
"mozilla.widget.disable-native-theme" and value true (and then
restart Firefox), or add (while Firefox is not running) the line:
user_pref("mozilla.widget.disable-native-theme", true);
to the prefs.js in your profile
-David
--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/