Summary: | Add `image-missing` icon | ||
---|---|---|---|
Product: | [Plasma] Breeze | Reporter: | infowgn |
Component: | Icons | Assignee: | visual-design |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kainz.a, nate, personalizedrefrigerator |
Priority: | NOR | ||
Version: | 5.18.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/breeze-icons/408fe187d38ffa6d2883046c30a404062524e2a9 | Version Fixed In: | 5.78 |
Sentry Crash Report: |
Description
infowgn
2020-10-28 12:52:47 UTC
We can add an `image-missing` icon. However it's undoubtedly a bug in the app or in GTK that it crashes when this icon is missing. At worst, it should display nothing. Missing icons should never crash an app, that's just crazy! As a workaround, you can copy/symlink an existing icon image file to the expected filename of the missing icon file. Thanks, I tried this before I wrote my first post without success. Perhaps I linked at the wrong location. The oxygen icon set works for me. The command "locate image-missing | grep oxygen" shows: /usr/share/icons/oxygen/base/128x128/status/image-missing.png /usr/share/icons/oxygen/base/16x16/status/image-missing.png /usr/share/icons/oxygen/base/22x22/status/image-missing.png /usr/share/icons/oxygen/base/32x32/status/image-missing.png /usr/share/icons/oxygen/base/48x48/status/image-missing.png /usr/share/icons/oxygen/base/64x64/status/image-missing.png So I tried to place in all corresponding dirs of "/usr/share/icons/breeze" a link to the files in the oxygen icon set, but in "/usr/share/icons/breeze" there is no dir "base". Following I copied the whole dir "/usr/share/icons/oxygen/base/" to "/usr/share/icons/breeze/", but xournalpp crashes with the same error message: Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme breeze (gtk-icon-theme-error-quark, 0) At which location I have to store the "images-missing" icons? I don't know how GTK or xournal search icons. If everything else fails, search the image-missing name in the strace output. This should have been fixed by https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/67 ! Yep! |