[Bug 94615] Firefox launched from alt-f2 doesn't apply all gtk2-qt-engine settings

yacoob yacoob at gmail.com
Thu Mar 22 00:57:23 UTC 2007


Public bug reported:

Binary package hint: kdesktop

Greetings,

Symptoms:
System settings -> Appearance -> GTK Styles and fonts:
GTK Style: Use my KDE style in GTK applications

Now, launch Firefox from Konsole - Firefox launches, gtk looks good - just like qt. Close Firefox.
Press alt-f2, enter 'firefox', press enter - Firefox launches, looks good. Close Firefox.
Press alt-f2, enter '/usr/bin/firefox', press enter - Firefox launches, colors are WRONG - settings from Appearance section regarding colors are not applied. Close Firefox.
Same thing happens (wrong colors) when you have '/usr/bin/firefox' defined as default browser, and you enter 'google.com' on alt-f2 dialog.

I straced both cases, grepping for 'gtkrc' phrase, and compared the files. Here's the difference: when launched from Konsole, Firefox parses ADDITIONAL gtkrc file, namely ~/.kde/share/config/gtkrc-2.0 - which holds colors definitions. It parses this file, because GTK2_RC_FILES environment option is set:
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/yacoob/.gtkrc-2.0:/home/yacoob/.kde/share/config/gtkrc-2.0

Now, my question is: why this variable is NOT set while I'm launching it
as /usr/bin/firefox or via specyfing an url? It causes Firefox to appear
looking different, depending on the way it was launched. I grepped
through some of the files, looking for place where this could be set,
but I wasn't able to find the place.

I hope you will be able to solve this one :)

Best regards,

KT.

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Firefox launched from alt-f2 doesn't apply all gtk2-qt-engine settings
https://launchpad.net/bugs/94615




More information about the kubuntu-bugs mailing list