Firefox launched from alt-f2 doesn't apply all gtk2-qt-engine settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Fix Released
|
Medium
|
Anthony Mercatante |
Bug Description
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/
GTK2_RC_
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.
Changed in kdebase: | |
assignee: | nobody → ryanakca |
importance: | Undecided → Medium |
status: | Unconfirmed → Confirmed |
Changed in kdebase: | |
assignee: | ryanakca → tonio |
status: | Confirmed → Fix Committed |
Just a thing I noticed - GTK2_RC_FILES seems to be set up by Konsole itself - when I launch xterm, this variable is not set. So, in order to solve the bug this variable should be set globaly upon user login.