https://bugs.kde.org/show_bug.cgi?id=436637

            Bug ID: 436637
           Summary: KIconLoader does not respect QIcon::themeSearchPaths()
           Product: frameworks-kiconthemes
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: cf...@kde.org
          Reporter: nicolas.fe...@gmx.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

STEPS TO REPRODUCE
1. Install some icons to e.g.
/usr/share/foo/icons/hicolor/22x22/actions/bla.png
2. Call QIcon::setThemeSearchPaths(QIcon::themeSearchPaths() <<
"/usr/share/foo/icons/");
2. Use QIcon::fromTheme("bla") on Plasma

OBSERVED RESULT
foo is not found

EXPECTED RESULT
foo is found

Forcing the app to use another icon loader via QT_QPA_PLATFORMTHEME=gtk3 makes
the icon work


SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15-kde

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to