https://bugs.kde.org/show_bug.cgi?id=402172
--- Comment #18 from Igor Poboiko <igor.pobo...@gmail.com> --- Git commit 899c0f7fa457d77f4b53f8540e22290da862d57d by Igor Poboiko. Committed on 04/06/2020 at 22:03. Pushed by poboiko into branch 'master'. [KMainWindow] Invoke QIcon::setFallbackThemeName (later) Summary: This is alternative approach to {D22488} and commit 4214045 to KIconThemes. Okular (and most - if not all - KDE apps) inherit KMainWindow, so KDE apps should have breeze icons). KMainWindow ctor should be early enough so no icons are yet loaded, but late enough so QGuiApplication is already inited. This should be followed by reverting commit 4214045 in KIconThemes. Original problem description (by @mart): invoking QIcon::setFallbackThemeName at QCoreApplication ctor with Q_COREAPP_STARTUP_FUNCTION breaks the internal status of QIconLoader as it instantiates it before the QPlatformTheme, but QIconLoader depends from QPlatformTheme to be already instantiated otherwise it won't load correctly, thus breaking icon loading in QtQuickControls2 styles, such as Material and Fusion see https://bugreports.qt.io/browse/QTBUG-74252 Test Plan: Don't have GTK3 QPA plugin, so cannot test it yet. I would appreciate if someone helped me with testing :) Reviewers: aacid, mart, broulik Subscribers: mart, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D29826 M +17 -0 src/kmainwindow.cpp https://invent.kde.org/frameworks/kxmlgui/commit/899c0f7fa457d77f4b53f8540e22290da862d57d -- You are receiving this mail because: You are watching all bug changes.