Currently if an artist wishes to do some icon theming they have to run some scripts when they save an image to re-pack (by zipping) their icon theme of interest, and then re-start LibreOffice. That is a bit of a pain. It would be lovely if the icon loading code could support a look-aside directory tree beside the icon-theme, and preferentially load from there if it is present. Currently we look in share/config/images.zip (for example). It would be wonderful to (one-off at startup) check if a share/config/images/ directory exists - and if so to resolve paths against this [ and also turn off icon caching so no re-load is necessary ]. The code is here, for image load: http://cgit.freedesktop.org/libreoffice/core/tree/vcl/source/gdi/impimagetree.cxx#n195 and cache: http://cgit.freedesktop.org/libreoffice/core/tree/vcl/source/gdi/impimagetree.cxx#n343 and to check if a directory exists we should use the sal/inc/osl/file.hxx code I think.
Patch submitted, awaiting approval.
Gabor Stefanik committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1a33c664d7f7a0662b861fbafe3b93a2656bb768 fdo#42779: Implement icon theme lookaside directory
Gabor Stefanik committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a0fd9de70634ee42727690824bc1bef7ee7c7eab fdo#42779 followup: Do not check for icons in nonexistent lookaside directory.
Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyInteresting,SkillCpp,TopicCleanup ) [NinjaEdit]