https://bugs.kde.org/show_bug.cgi?id=358926
Bug ID: 358926 Summary: QFileIconProvider doesn't provide under Plasma 5 Product: frameworks-frameworkintegration Version: unspecified Platform: Archlinux Packages URL: http://martchus.netai.net/images/screenshots/kde-no-ic ons.png OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: martc...@gmx.net - QFileIconProvider doesn't work under Plasma 5 with any Qt theme. - The effect is that icons in views using QFileSystemModel aren't shown: http://martchus.netai.net/images/screenshots/kde-no-icons.png - Reproducible: Always Steps to Reproduce: 1. Ensure Plasma/KDE integration is used, eg. XDG_CURRENT_DESKTOP=kde 2. window->setWindowIcon(QFileIconProvider().icon(QFileInfo(QStringLiteral("/run/media")))); 3. The bug also effects QFileSystemModel: anyQTreeViewInstance->setModel(anyQFileSystemModel); Actual Results: - Icon is not shown. - Icons aren't shown: http://martchus.netai.net/images/screenshots/kde-no-icons.png Expected Results: - Icon is shown. - Icons are shown: http://martchus.netai.net/images/screenshots/gnome-with-icons.png - I've noticed this bug for quite a while. Hence I can't remember when it occurred the first time. - I'm actually wondering why this hasn't been reported yet as it affects the commonly used QFileSystemModel. - I'm not 100 % sure whether it is a Qt or KDE bug. However I suspect it is likely a KDE issue because the "Steps to reproduce" give "Expected Results" when setting XDG_CURRENT_DESKTOP=GNOME. (This is how I created the screenshot under "Expected Results". As you can see it even works with Breeze Qt theme and Breeze icon theme.) - For testing I use only pure Qt. I'm not linking against any KDE libraries. - I'm using the lastest Qt and KDE libs provided by the official (stable) Arch Linux repositories (NO testing/kde-unstable). -- You are receiving this mail because: You are watching all bug changes.