SUMMARY STEPS TO REPRODUCE 1. Start xournal++ 2. Press SAVE-button 3. Change directory OBSERVED RESULT xournal++ chrashes while changing directory in file sve dialog SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 / Plasma 5.18.4 shipped with Kubuntu 20.04 KDE Plasma Version: 5.18.4 KDE Frameworks Version: ??? Qt Version: 5 ADDITIONAL INFORMATION Output of xournalpp: 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) Bail out! 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) If I use another icon set than breeze, xournal++ works perfectly. The guys of xournal++ say it's not a problem of xournal++ but it's a problem of the icon set. (https://github.com/xournalpp/xournalpp/issues/999) Any ideas to use xournal++ with the breeze icons? I love the breeze icon set.
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!