Bug 1115268

Summary: QT_PLUGIN_PATH contains repeated paths
Product: [Fedora] Fedora Reporter: Terry Moschou <tmoschou>
Component: kde-workspaceAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dvratil, jgrulich, jreznik, kevin, ltinkl, mbriza, rdieter, rnovacek, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-01 11:49:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1090615    
Bug Blocks:    

Description Terry Moschou 2014-07-02 05:15:27 UTC
Description of problem:
  The QT_PLUGIN_PATH contains repeated paths. Further the local path
    ~/.kde/lib64/kde4/plugins
  does not come before system paths
    /usr/lib64/kde4/plugins
    /usr/lib/kde4/plugins

Version-Release number of selected component (if applicable):
  kde-workspace-4.11.10-2.fc20.x86_64
  kde-settings-20-12.fc20.noarch

How reproducible:
  Everytime

Steps to Reproduce:
1. login and start the KDE desktop

Actual results:
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins:~/.kde/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/

Expected results:
QT_PLUGIN_PATH=~/.kde/lib64/kde4/plugins:/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins

Reason:
  The issue come from that QT_PLUGIN_PATH is first set in
    /etc/profile.d/kde.{sh,csh}
  Then it is appended in
    /usr/bin/startkde
  which does not check for duplicates, nor ensure that
    ~/.kde/lib64/kde4/plugins
  comes first.

Comment 1 Rex Dieter 2014-07-02 13:46:18 UTC
The origins of this goes back to bug #821062  "Pure Qt applications can't use KDE styles outside of KDE"


Hrm, does anyone remember why we still do explicit QT_PLUGIN_PATH munging to include multilib paths?  afaict, that is no longer required or at least not since we incorporated,
http://pkgs.fedoraproject.org/cgit/qt.git/tree/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch

I've historically been very good at confusing myself every time I revisit this, but if we can't come up with reasons to keep it, I'm tempted to remove the multilib QT_PLUGIN_PATH munging from both /etc/profile.d/kde.* and /usr/bin/startkde , which should resolve this.

Comment 2 Than Ngo 2014-07-03 14:57:49 UTC
as i remember, it's was the problem that kde theme (oxygen) doens't work x86_64 when the user launches 32bit qt app like skype.

i'm fine with Removing this hack.

Comment 3 Rex Dieter 2014-07-03 17:57:47 UTC
OK, I can confirm skype works as expected without any QT_PLUGIN_PATH hacks/manipulation now, so I'll go ahead and remove them.

Comment 4 Rex Dieter 2014-07-03 18:24:12 UTC
kde-settings:
* Thu Jul 03 2014 Rex Dieter <rdieter> 20-16
- QT_PLUGIN_PATH contains repeated paths (#1115268)

kde-workspace:
%changelog
* Thu Jul 03 2014 Rex Dieter <rdieter> 4.11.10-7
- QT_PLUGIN_PATH contains repeated paths (#1115268)

Comment 5 Fedora Update System 2014-07-16 00:17:14 UTC
amor-4.13.3-1.fc20, analitza-4.13.3-1.fc20, ark-4.13.3-1.fc20, audiocd-kio-4.13.3-1.fc20, blinken-4.13.3-1.fc20, cantor-4.13.3-1.fc20, dragon-4.13.3-1.fc20, filelight-4.13.3-1.fc20, gwenview-4.13.3-1.fc20, jovie-4.13.3-1.fc20, juk-4.13.3-1.fc20, kaccessible-4.13.3-1.fc20, kactivities-4.13.3-1.fc20, kalgebra-4.13.3-1.fc20, kalzium-4.13.3-1.fc20, kamera-4.13.3-1.fc20, kanagram-4.13.3-1.fc20, kate-4.13.3-1.fc20, kbruch-4.13.3-1.fc20, kcalc-4.13.3-1.fc20, kcharselect-4.13.3-1.fc20, kcolorchooser-4.13.3-1.fc20, kcron-4.13.3-1.fc20, kde-base-artwork-4.13.3-1.fc20, kde-baseapps-4.13.3-1.fc20, kde-l10n-4.13.3-1.fc20, kde-print-manager-4.13.3-1.fc20, kde-runtime-4.13.3-1.fc20, kde-wallpapers-4.13.3-1.fc20, kde-workspace-4.11.11-1.fc20, kdeaccessibility-4.13.3-1.fc20, kdeadmin-4.13.3-1.fc20, kdeartwork-4.13.3-1.fc20, kdebindings-4.13.3-1.fc20, kdeedu-4.13.3-1.fc20, kdegraphics-4.13.3-1.fc20, kdegraphics-mobipocket-4.13.3-1.fc20, kdegraphics-strigi-analyzer-4.13.3-1.fc20, kdegraphics-thumbnailers-4.13.3-1.fc20, kdelibs-4.13.3-1.fc20, kdemultimedia-4.13.3-1.fc20, kdenetwork-4.13.3-1.fc20, kdenetwork-filesharing-4.13.3-1.fc20, kdenetwork-strigi-analyzers-4.13.3-1.fc20, kdepim-4.13.3-1.fc20, kdepim-runtime-4.13.3-1.fc20, kdepimlibs-4.13.3-1.fc20, kdeplasma-addons-4.13.3-1.fc20, kdetoys-4.13.3-1.fc20, kdeutils-4.13.3-1.fc20, kdf-4.13.3-1.fc20, kdnssd-4.13.3-1.fc20, kfloppy-4.13.3-1.fc20, kgamma-4.13.3-1.fc20, kgeography-4.13.3-1.fc20, kget-4.13.3-1.fc20, kgpg-4.13.3-1.fc20, khangman-4.13.3-1.fc20, kig-4.13.3-1.fc20, kimono-4.13.3-1.fc20, kiten-4.13.3-1.fc20, klettres-4.13.3-1.fc20, kmag-4.13.3-1.fc20, kmix-4.13.3-1.fc20, kmousetool-4.13.3-1.fc20, kmouth-4.13.3-1.fc20, kmplot-4.13.3-1.fc20, kolourpaint-4.13.3-1.fc20, konsole-4.13.3-1.fc20, kopete-4.13.3-1.fc20, kppp-4.13.3-1.fc20, krdc-4.13.3-1.fc20, kremotecontrol-4.13.3-1.fc20, krfb-4.13.3-1.fc20, kross-interpreters-4.13.3-1.fc20, kruler-4.13.3-1.fc20, ksaneplugin-4.13.3-1.fc20, kscd-4.13.3-1.fc20, ksnapshot-4.13.3-1.fc20, kstars-4.13.3-1.fc20, ksystemlog-4.13.3-1.fc20, kteatime-4.13.3-1.fc20, ktimer-4.13.3-1.fc20, ktouch-4.13.3-1.fc20, kturtle-4.13.3-1.fc20, ktux-4.13.3-1.fc20, kuser-4.13.3-1.fc20, kwalletmanager-4.13.3-1.fc20, kwordquiz-4.13.3-1.fc20, libkcddb-4.13.3-1.fc20, libkcompactdisc-4.13.3-1.fc20, libkdcraw-4.13.3-1.fc20, libkdeedu-4.13.3-1.fc20, libkexiv2-4.13.3-1.fc20, libkipi-4.13.3-1.fc20, libksane-4.13.3-1.fc20, marble-4.13.3-1.fc20, nepomuk-core-4.13.3-1.fc20, nepomuk-widgets-4.13.3-1.fc20, okular-4.13.3-1.fc20, oxygen-icon-theme-4.13.3-1.fc20, pairs-4.13.3-1.fc20, parley-4.13.3-1.fc20, pykde4-4.13.3-1.fc20, qyoto-4.13.3-1.fc20, rocs-4.13.3-1.fc20, ruby-korundum-4.13.3-1.fc20, ruby-qt-4.13.3-1.fc20, smokegen-4.13.3-1.fc20, smokekde-4.13.3-1.fc20, smokeqt-4.13.3-1.fc20, step-4.13.3-1.fc20, superkaramba-4.13.3-1.fc20, svgpart-4.13.3-1.fc20, sweeper-4.13.3-1.fc20, amarok-2.8.0-6.fc20, baloo-kcmadv-0-0.1.20140427git0656135.fc20, calligra-2.8.5-2.fc20, calligra-l10n-2.8.5-1.fc20, digikam-4.0.0-3.fc20, kde-settings-20-16.fc20, kphotoalbum-4.4-9.fc20, libkolab-0.5.0-1.fc20, libkolabxml-1.0.1-2.fc20, rekonq-2.4.2-4.fc20, subsurface-4.0.3-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/amor-4.13.3-1.fc20,analitza-4.13.3-1.fc20,ark-4.13.3-1.fc20,audiocd-kio-4.13.3-1.fc20,blinken-4.13.3-1.fc20,cantor-4.13.3-1.fc20,dragon-4.13.3-1.fc20,filelight-4.13.3-1.fc20,gwenview-4.13.3-1.fc20,jovie-4.13.3-1.fc20,juk-4.13.3-1.fc20,kaccessible-4.13.3-1.fc20,kactivities-4.13.3-1.fc20,kalgebra-4.13.3-1.fc20,kalzium-4.13.3-1.fc20,kamera-4.13.3-1.fc20,kanagram-4.13.3-1.fc20,kate-4.13.3-1.fc20,kbruch-4.13.3-1.fc20,kcalc-4.13.3-1.fc20,kcharselect-4.13.3-1.fc20,kcolorchooser-4.13.3-1.fc20,kcron-4.13.3-1.fc20,kde-base-artwork-4.13.3-1.fc20,kde-baseapps-4.13.3-1.fc20,kde-l10n-4.13.3-1.fc20,kde-print-manager-4.13.3-1.fc20,kde-runtime-4.13.3-1.fc20,kde-wallpapers-4.13.3-1.fc20,kde-workspace-4.11.11-1.fc20,kdeaccessibility-4.13.3-1.fc20,kdeadmin-4.13.3-1.fc20,kdeartwork-4.13.3-1.fc20,kdebindings-4.13.3-1.fc20,kdeedu-4.13.3-1.fc20,kdegraphics-4.13.3-1.fc20,kdegraphics-mobipocket-4.13.3-1.fc20,kdegraphics-strigi-analyzer-4.13.3-1.fc20,kdegraphics-thumbnailers-4.13.3-1.fc20,kdelibs-4.13.3-1.fc20,kdemultimedia-4.13.3-1.fc20,kdenetwork-4.13.3-1.fc20,kdenetwork-filesharing-4.13.3-1.fc20,kdenetwork-strigi-analyzers-4.13.3-1.fc20,kdepim-4.13.3-1.fc20,kdepim-runtime-4.13.3-1.fc20,kdepimlibs-4.13.3-1.fc20,kdeplasma-addons-4.13.3-1.fc20,kdetoys-4.13.3-1.fc20,kdeutils-4.13.3-1.fc20,kdf-4.13.3-1.fc20,kdnssd-4.13.3-1.fc20,kfloppy-4.13.3-1.fc20,kgamma-4.13.3-1.fc20,kgeography-4.13.3-1.fc20,kget-4.13.3-1.fc20,kgpg-4.13.3-1.fc20,khangman-4.13.3-1.fc20,kig-4.13.3-1.fc20,kimono-4.13.3-1.fc20,kiten-4.13.3-1.fc20,klettres-4.13.3-1.fc20,kmag-4.13.3-1.fc20,kmix-4.13.3-1.fc20,kmousetool-4.13.3-1.fc20,kmouth-4.13.3-1.fc20,kmplot-4.13.3-1.fc20,kolourpaint-4.13.3-1.fc20,konsole-4.13.3-1.fc20,kopete-4.13.3-1.fc20,kppp-4.13.3-1.fc20,krdc-4.13.3-1.fc20,kremotecontrol-4.13.3-1.fc20,krfb-4.13.3-1.fc20,kross-interpreters-4.13.3-1.fc20,kruler-4.13.3-1.fc20,ksaneplugin-4.13.3-1.fc20,kscd-4.13.3-1.fc20,ksnapshot-4.13.3-1.fc20,kstars-4.13.3-1.fc20,ksystemlog-4.13.3-1.fc20,kteatime-4.13.3-1.fc20,ktimer-4.13.3-1.fc20,ktouch-4.13.3-1.fc20,kturtle-4.13.3-1.fc20,ktux-4.13.3-1.fc20,kuser-4.13.3-1.fc20,kwalletmanager-4.13.3-1.fc20,kwordquiz-4.13.3-1.fc20,libkcddb-4.13.3-1.fc20,libkcompactdisc-4.13.3-1.fc20,libkdcraw-4.13.3-1.fc20,libkdeedu-4.13.3-1.fc20,libkexiv2-4.13.3-1.fc20,libkipi-4.13.3-1.fc20,libksane-4.13.3-1.fc20,marble-4.13.3-1.fc20,nepomuk-core-4.13.3-1.fc20,nepomuk-widgets-4.13.3-1.fc20,okular-4.13.3-1.fc20,oxygen-icon-theme-4.13.3-1.fc20,pairs-4.13.3-1.fc20,parley-4.13.3-1.fc20,pykde4-4.13.3-1.fc20,qyoto-4.13.3-1.fc20,rocs-4.13.3-1.fc20,ruby-korundum-4.13.3-1.fc20,ruby-qt-4.13.3-1.fc20,smokegen-4.13.3-1.fc20,smokekde-4.13.3-1.fc20,smokeqt-4.13.3-1.fc20,step-4.13.3-1.fc20,superkaramba-4.13.3-1.fc20,svgpart-4.13.3-1.fc20,sweeper-4.13.3-1.fc20,amarok-2.8.0-6.fc20,baloo-kcmadv-0-0.1.20140427git0656135.fc20,calligra-2.8.5-2.fc20,calligra-l10n-2.8.5-1.fc20,digikam-4.0.0-3.fc20,kde-settings-20-16.fc20,kphotoalbum-4.4-9.fc20,libkolab-0.5.0-1.fc20,libkolabxml-1.0.1-2.fc20,rekonq-2.4.2-4.fc20,subsurface-4.0.3-4.fc20

Comment 6 Fedora Update System 2014-07-26 00:04:37 UTC
amor-4.13.3-1.fc20, analitza-4.13.3-1.fc20, ark-4.13.3-1.fc20, audiocd-kio-4.13.3-1.fc20, blinken-4.13.3-1.fc20, cantor-4.13.3-1.fc20, dragon-4.13.3-1.fc20, filelight-4.13.3-1.fc20, gwenview-4.13.3-1.fc20, jovie-4.13.3-1.fc20, juk-4.13.3-1.fc20, kaccessible-4.13.3-1.fc20, kactivities-4.13.3-1.fc20, kalgebra-4.13.3-1.fc20, kalzium-4.13.3-1.fc20, kamera-4.13.3-1.fc20, kanagram-4.13.3-1.fc20, kate-4.13.3-1.fc20, kbruch-4.13.3-1.fc20, kcalc-4.13.3-1.fc20, kcharselect-4.13.3-1.fc20, kcolorchooser-4.13.3-1.fc20, kcron-4.13.3-1.fc20, kde-base-artwork-4.13.3-1.fc20, kde-baseapps-4.13.3-1.fc20, kde-l10n-4.13.3-1.fc20, kde-print-manager-4.13.3-1.fc20, kde-wallpapers-4.13.3-1.fc20, kde-workspace-4.11.11-1.fc20, kdeaccessibility-4.13.3-1.fc20, kdeadmin-4.13.3-1.fc20, kdeartwork-4.13.3-1.fc20, kdebindings-4.13.3-1.fc20, kdeedu-4.13.3-1.fc20, kdegraphics-4.13.3-1.fc20, kdegraphics-mobipocket-4.13.3-1.fc20, kdegraphics-strigi-analyzer-4.13.3-1.fc20, kdegraphics-thumbnailers-4.13.3-1.fc20, kdelibs-4.13.3-1.fc20, kdemultimedia-4.13.3-1.fc20, kdenetwork-4.13.3-1.fc20, kdenetwork-filesharing-4.13.3-1.fc20, kdenetwork-strigi-analyzers-4.13.3-1.fc20, kdepim-4.13.3-1.fc20, kdepim-runtime-4.13.3-1.fc20, kdepimlibs-4.13.3-1.fc20, kdeplasma-addons-4.13.3-1.fc20, kdetoys-4.13.3-1.fc20, kdeutils-4.13.3-1.fc20, kdf-4.13.3-1.fc20, kdnssd-4.13.3-1.fc20, kfloppy-4.13.3-1.fc20, kgamma-4.13.3-1.fc20, kgeography-4.13.3-1.fc20, kget-4.13.3-1.fc20, kgpg-4.13.3-1.fc20, khangman-4.13.3-1.fc20, kig-4.13.3-1.fc20, kimono-4.13.3-1.fc20, kiten-4.13.3-1.fc20, klettres-4.13.3-1.fc20, kmag-4.13.3-1.fc20, kmousetool-4.13.3-1.fc20, kmouth-4.13.3-1.fc20, kmplot-4.13.3-1.fc20, kolourpaint-4.13.3-1.fc20, konsole-4.13.3-1.fc20, kopete-4.13.3-1.fc20, kppp-4.13.3-1.fc20, krdc-4.13.3-1.fc20, kremotecontrol-4.13.3-1.fc20, krfb-4.13.3-1.fc20, kross-interpreters-4.13.3-1.fc20, kruler-4.13.3-1.fc20, ksaneplugin-4.13.3-1.fc20, kscd-4.13.3-1.fc20, ksnapshot-4.13.3-1.fc20, kstars-4.13.3-1.fc20, ksystemlog-4.13.3-1.fc20, kteatime-4.13.3-1.fc20, ktimer-4.13.3-1.fc20, ktouch-4.13.3-1.fc20, kturtle-4.13.3-1.fc20, ktux-4.13.3-1.fc20, kuser-4.13.3-1.fc20, kwalletmanager-4.13.3-1.fc20, kwordquiz-4.13.3-1.fc20, libkcddb-4.13.3-1.fc20, libkcompactdisc-4.13.3-1.fc20, libkdcraw-4.13.3-1.fc20, libkdeedu-4.13.3-1.fc20, libkexiv2-4.13.3-1.fc20, libkipi-4.13.3-1.fc20, libksane-4.13.3-1.fc20, marble-4.13.3-1.fc20, nepomuk-core-4.13.3-1.fc20, nepomuk-widgets-4.13.3-1.fc20, okular-4.13.3-1.fc20, oxygen-icon-theme-4.13.3-1.fc20, pairs-4.13.3-1.fc20, parley-4.13.3-1.fc20, pykde4-4.13.3-1.fc20, qyoto-4.13.3-1.fc20, rocs-4.13.3-1.fc20, ruby-korundum-4.13.3-1.fc20, ruby-qt-4.13.3-1.fc20, smokegen-4.13.3-1.fc20, smokekde-4.13.3-1.fc20, smokeqt-4.13.3-1.fc20, step-4.13.3-1.fc20, superkaramba-4.13.3-1.fc20, svgpart-4.13.3-1.fc20, sweeper-4.13.3-1.fc20, amarok-2.8.0-6.fc20, baloo-kcmadv-0-0.1.20140427git0656135.fc20, calligra-2.8.5-2.fc20, calligra-l10n-2.8.5-1.fc20, digikam-4.0.0-3.fc20, kde-settings-20-16.fc20, kphotoalbum-4.4-9.fc20, libkolab-0.5.0-1.fc20, libkolabxml-1.0.1-2.fc20, rekonq-2.4.2-4.fc20, subsurface-4.0.3-4.fc20, baloo-widgets-4.13.3-1.fc20, baloo-4.13.3-1.fc20, kfilemetadata-4.13.3-1.fc20, kde-runtime-4.13.3-2.fc20, kmix-4.13.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.