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?
Thank you in advance, Clemens
I thought we had a hidden pref for this, but I can't seem to find
one.
If, in fact, we don't have one, then it could be disabled with a
relatively simple extension: one that provides the contract
"@mozilla.org/chrome/chrome-native-theme;1". (All you'd need to do
is make an implementation that doesn't QueryInterface to nsITheme.)
-David
--
L. David Baron http://dbaron.org/
Mozilla Corporation http://www.mozilla.com/
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
> 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
Wonderful, thanks a lot :)
I never thought that it would make such a difference, I now can even
scroll through my gmail-inbox in "real-time".
However although all websites/dialogs look fine, firefox' main window
is quite broken without native theming.
Should I file a bug about this?
Thanks again, Clemens
Please, yes.
-Boris
Ok, thanks a lot - already filed:
https://bugzilla.mozilla.org/show_bug.cgi?id=563886
Thanks again, Clemens