Summary: | No icons for apps | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Eugene Savitsky <eugene.savitsky> |
Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | aleixpol, nate, sitter, travier, yselkowi |
Priority: | NOR | ||
Version: | 6.2.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/68de3ccc836822d183dcd4da60c7f3189a825291 | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: |
Screenshot: only blue + zipper icons
Screenshot: some icons are normal Screenshot: some icons are normal 2 Screenshot: some icons are normal - 3 Screenvideo |
Created attachment 174550 [details]
Screenshot: some icons are normal
Created attachment 174551 [details]
Screenshot: some icons are normal 2
Created attachment 174552 [details] Screenshot: some icons are normal - 3 After restarting Discovery, some icons could appear (compare with https://bugs.kde.org/attachment.cgi?id=174549) Actually, I believe it does not happens on Fedora. Found this thread: https://www.reddit.com/r/openSUSE/comments/1bxqa6n/no_program_icons_in_discover/ Cannot reproduce in Fedora 40 KDE. All the icons load for me. It seems it is a openSUSE bug... Right now icons are loading fine on openSUSE. Updated openSUSE and restarted. Again blue icons... :-/ Please run
> QT_LOGGING_RULES=org.kde.*=true plasma-discover &> log
wait about 1minute
then attach the file 'log' to the bug report.
It makes an 0 sized file... BTW I made a bug in openSUSE bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1231586 Run just: QT_LOGGING_RULES=org.kde.*=true plasma-discover First run - all icons were present: ezh@localhost:~> QT_LOGGING_RULES=org.kde.*=true plasma-discover > log libs QList("/usr/lib64/qt6/plugins", "/usr/bin") org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false adding empty sources model QStandardItemModel(0x560f10e54180) org.kde.plasma.libdiscover: setting currentApplicationBackend to PackageKitBackend(0x560f10cbac00) org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/flatpak-backend-categories.xml" with l10n true org.kde.plasma.libdiscover: CategoriesReader: Couldn't find a category for "fwupd-backend" org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/packagekit-backend-categories.xml" with l10n true qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:358:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:361:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:409:13 org.kde.UserFeedback: qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene. ** (process:69657): WARNING **: 22:05:41.016: Found icon of unknown type 'unknown' in 'system/package/os/focuswriter.desktop/*', skipping it. ** (process:69657): WARNING **: 22:05:41.039: Found icon of unknown type 'unknown' in 'system/package/os/org.opensuse.opensuse_welcome/*', skipping it. ** (process:69657): WARNING **: 22:05:41.063: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it. ** (process:69657): WARNING **: 22:05:41.064: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it. ** (process:69657): WARNING **: 22:05:41.083: Found icon of unknown type 'unknown' in 'system/package/os/net.minetest.minetest/*', skipping it. ** (process:69657): WARNING **: 22:05:41.119: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it. ** (process:69657): WARNING **: 22:05:41.136: Found icon of unknown type 'unknown' in 'system/package/os/org.musescore.MuseScore/*', skipping it. ** (process:69657): WARNING **: 22:05:41.166: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.merkuro.contact/*', skipping it. PackageKitBackend: No distro component found for "org.opensuse.opensuse-tumbleweed" looking for cache entry looking for cache entry 0 cache entry KNSCore::Entry(uniqueId: "1313336", name:"Breeze Round Corners", status: Installed, installedFiles: QList("/home/ezh/.local/share/icons/Breeze_Dark_RC/*", "/home/ezh/.local/share/icons/Breeze_RC/*")) "20200604" "20200604" UPDATABLE QList() AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed" ^C Second run - blue icons: ezh@localhost:~> QT_LOGGING_RULES=org.kde.*=true plasma-discover > log libs QList("/usr/lib64/qt6/plugins", "/usr/bin") org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false adding empty sources model QStandardItemModel(0x558be6c75e60) org.kde.plasma.libdiscover: setting currentApplicationBackend to PackageKitBackend(0x558be6bf1300) org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/flatpak-backend-categories.xml" with l10n true org.kde.plasma.libdiscover: CategoriesReader: Couldn't find a category for "fwupd-backend" org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/packagekit-backend-categories.xml" with l10n true qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:358:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:361:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:409:13 org.kde.UserFeedback: qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene. ** (process:70286): WARNING **: 22:06:25.726: Found icon of unknown type 'unknown' in 'system/package/os/focuswriter.desktop/*', skipping it. ** (process:70286): WARNING **: 22:06:25.752: Found icon of unknown type 'unknown' in 'system/package/os/org.opensuse.opensuse_welcome/*', skipping it. ** (process:70286): WARNING **: 22:06:25.776: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it. ** (process:70286): WARNING **: 22:06:25.777: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it. ** (process:70286): WARNING **: 22:06:25.796: Found icon of unknown type 'unknown' in 'system/package/os/net.minetest.minetest/*', skipping it. ** (process:70286): WARNING **: 22:06:25.830: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it. ** (process:70286): WARNING **: 22:06:25.846: Found icon of unknown type 'unknown' in 'system/package/os/org.musescore.MuseScore/*', skipping it. ** (process:70286): WARNING **: 22:06:25.875: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.merkuro.contact/*', skipping it. PackageKitBackend: No distro component found for "org.opensuse.opensuse-tumbleweed" looking for cache entry looking for cache entry 0 cache entry KNSCore::Entry(uniqueId: "1313336", name:"Breeze Round Corners", status: Installed, installedFiles: QList("/home/ezh/.local/share/icons/Breeze_Dark_RC/*", "/home/ezh/.local/share/icons/Breeze_RC/*")) "20200604" "20200604" UPDATABLE QList() AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed" PackageKit stopped running! Third run and at the end there is some useful data. ezh@localhost:~> QT_LOGGING_RULES=org.kde.*=true plasma-discover libs QList("/usr/lib64/qt6/plugins", "/usr/bin") org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false adding empty sources model QStandardItemModel(0x55ef985294f0) org.kde.plasma.libdiscover: setting currentApplicationBackend to PackageKitBackend(0x55ef9849d480) org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/flatpak-backend-categories.xml" with l10n true org.kde.plasma.libdiscover: CategoriesReader: Couldn't find a category for "fwupd-backend" org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/packagekit-backend-categories.xml" with l10n true qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:358:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:361:9 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value": qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:409:13 org.kde.UserFeedback: qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene. packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" ** (process:71070): WARNING **: 22:12:26.462: Found icon of unknown type 'unknown' in 'system/package/os/focuswriter.desktop/*', skipping it. ** (process:71070): WARNING **: 22:12:26.488: Found icon of unknown type 'unknown' in 'system/package/os/org.opensuse.opensuse_welcome/*', skipping it. ** (process:71070): WARNING **: 22:12:26.512: Found icon of unknown type 'unknown' in 'system/package/os/io.github.syllo.nvtop/*', skipping it. ** (process:71070): WARNING **: 22:12:26.513: Found icon of unknown type 'unknown' in 'system/package/os/org.naev.Naev/*', skipping it. ** (process:71070): WARNING **: 22:12:26.532: Found icon of unknown type 'unknown' in 'system/package/os/net.minetest.minetest/*', skipping it. ** (process:71070): WARNING **: 22:12:26.567: Found icon of unknown type 'unknown' in 'system/package/os/im.dino.Dino/*', skipping it. ** (process:71070): WARNING **: 22:12:26.584: Found icon of unknown type 'unknown' in 'system/package/os/org.musescore.MuseScore/*', skipping it. ** (process:71070): WARNING **: 22:12:26.613: Found icon of unknown type 'unknown' in 'system/package/os/org.kde.merkuro.contact/*', skipping it. looking for cache entry looking for cache entry 0 cache entry KNSCore::Entry(uniqueId: "1313336", name:"Breeze Round Corners", status: Installed, installedFiles: QList("/home/ezh/.local/share/icons/Breeze_Dark_RC/*", "/home/ezh/.local/share/icons/Breeze_RC/*")) "20200604" "20200604" UPDATABLE QList() PackageKitBackend: No distro component found for "org.opensuse.opensuse-tumbleweed" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" AppStreamIntegration: No distro component found for "org.opensuse.opensuse-tumbleweed" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" PackageKit stopped running! qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:11:1: QML UpdatesPage: Created graphical object was not placed in the graphics scene. qrc:/qt/qml/org/kde/discover/qml/UpdatesPage.qml:40:5: QML OverlaySheet: Binding loop detected for property "implicitHeight": file:///usr/lib64/qt6/qml/org/kde/kirigami/templates/OverlaySheet.qml:137:5 packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline" qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene. PackageKit stopped running! 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! (In reply to Harald Sitter from comment #8) > Please run > > QT_LOGGING_RULES=org.kde.*=true plasma-discover &> log Two weeks ago I have posted the logs. KDE 6.2.4. Still the case on OpenSUSE Tumbleweed (and still not always), no problem on Fedora 41. Installed to a VM Fedora 41 Kinoite and see the same problem... CCing Timothée to maybe have a look into this. It seems to work fine for me on KDE Linux, maybe there is something platform specific going on here. I'm aware that this happens on Fedora Kinoite (see: https://pagure.io/fedora-kde/SIG/issue/136) with Fedora Flatpaks only. I don't use them so I'm not working on this. What I think happens is that we fail to look up the stock icons. Of course there is a downstream component to this as well in that we shouldn't need to rely on stock icons since they will not have 100% coverage. i.e. the affected distros need to ship cached icons or remote icon uris in their appstream data. A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1025 Git commit 41368330af15c5fc12ea8227a81c741b73ee3099 by Harald Sitter. Committed on 31/01/2025 at 14:05. Pushed by sitter into branch 'master'. appstreamutils: fix icon listing -1 is fairly unreliable at providing a comprehensive list. walk group the enum instead M +6 -1 libdiscover/appstream/AppStreamUtils.cpp https://invent.kde.org/plasma/discover/-/commit/41368330af15c5fc12ea8227a81c741b73ee3099 Git commit 68de3ccc836822d183dcd4da60c7f3189a825291 by Harald Sitter. Committed on 31/01/2025 at 14:36. Pushed by sitter into branch 'Plasma/6.3'. appstreamutils: fix icon listing -1 is fairly unreliable at providing a comprehensive list. walk group the enum instead (cherry picked from commit 41368330af15c5fc12ea8227a81c741b73ee3099) M +6 -1 libdiscover/appstream/AppStreamUtils.cpp https://invent.kde.org/plasma/discover/-/commit/68de3ccc836822d183dcd4da60c7f3189a825291 I still see the same problem on Tumbleweed. First start of Discover - OK. Second start - blue icons. Created attachment 179383 [details]
Screenvideo
|
Created attachment 174549 [details] Screenshot: only blue + zipper icons Very often I see no icons in Discovery (default blue with zipper is shown). Now on 6.2, but I believe it was the case and on 6.1.x. Fedora & openSUSE. After restarting Discover some icons may appear.