Description of problem: After installing, enabling, then uninstalling gtk-qt-engine, you're left with all ugly default 'boxy' gtk apps, because of a garbage configfile left behind in ~/.kde/env/gtk-qt-engine.rc.sh Version-Release number of selected component (if applicable): gtk-qt-engine-1.1-2 How reproducible: KDE Steps to Reproduce: 1) add a new user 2) login to KDE as new user 3) "yum install gtk-qt-engine" # because you heard it it makes gtk apps look more like KDE qt apps while running KDE. 4) Open "systemsettings > Appearance > Gtk Style and Fonts" and enable it by checking the radio "Use my KDE style in GTK applications". 5) Heed the dialog warning telling you changes won't take effect until you relogin, so relogin 6) Run Firefox, or any other gtk app, and decide that you don't much care for the mismatched QT widgets inside of GTK apps (messed up firefox tabs, borders around buttons and radios/checkboxes, etc.) 7) yum remove gtk-qt-engine 8) ...time passes... 9) log back in, Run Firefox, or any gtk app, and notice that the gtk style is now a butt-ugly, square, unstyled gtk. 10) in desparation, you attempt to run gnome-appearance-properties in KDE to fix it, and fail. You then attempt to fix it by logging into Gnome, and run the same thing, and fail. 11) after much digging you discover ~/.kde/env/gtk-qt-engine.rc.sh was left behind, which loads ~/.gtkrc-2.0-kde4, which was also left behind. Actual results: stuck with ugly gtk apps unless you figure out how to fix it. the above is actually a common use scenario. Expected results: gtk apps should be restored to the current, changeable, gnome state when the package is uninstalled. The shell script that gets added to "~/.kde/env/gtk-qt-engine.rc.sh" needs to simply check for the existence of itself before loading the static gtkrc. e.g.: #!/bin/bash # Make sure our customised gtkrc file is loaded, ONLY IF we're still installed [[ -e /usr/lib64/kde4/kcm_gtk4.so ]] && export GTK2_RC_FILES=/home/foouser/.gtkrc-2.0-kde4
Created attachment 325031 [details] example of "ugly" gtk
Makes good sense, I'll if I can come up with an implementation of that idea.
gtk-qt-engine-1.1-4.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/gtk-qt-engine-1.1-4.fc9
gtk-qt-engine-1.1-4.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/gtk-qt-engine-1.1-4.fc10
gtk-qt-engine-0.8-6.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/gtk-qt-engine-0.8-6.fc8
gtk-qt-engine-0.8-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
gtk-qt-engine-1.1-4.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gtk-qt-engine'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11765
gtk-qt-engine-1.1-4.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update gtk-qt-engine'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-11769
gtk-qt-engine-1.1-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
gtk-qt-engine-1.1-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.