There are some "old" icon themes in LibreOffice like Classic and Oxygen which are not maintained any more, but it's difficult to cancel them. In addition users would like to make there own icon themes (papirus, arch, ... ) available in LibreOffice.
Extend the Extension Manager to support icons from the LibreOffice extension page would be awesome.
If needed, I could make the community work as LibreOffice Breeze-Icon theme maintainer.
The icon themes are read today from <program>/share/config/. The request is to also read from <user>/libreoffice/4/user/config/, or another folder in the user space.
Could be an easyhack.
So if I get an mentor I will do it.
(In reply to andreas_k from comment #3)
> So if I get an mentor I will do it.
Currently the standard icon search path is hardcoded to $BRAND_BASE_DIR and returned from this static method: IconThemeScanner::GetStandardIconThemePath().
It is then used in settings.cxx to instantiate mIconThemeScanner for class ImplStyleDate. The default theme is set using StyleSettings::GetAutomaticallyChosenIconTheme().
Here's a list of relevant files that will help you get around:
As for the actual proper way of changing this to also look in the $USER/libreoffice dir, I'm going to leave it to someone who is well versed on theme/ui code to advise you on the best approach. If you start working on this please assign it to you. Thank you!
(In reply to admin from comment #4)
> (In reply to andreas_k from comment #3)
> > So if I get an mentor I will do it.
> Currently the standard icon search path is hardcoded to $BRAND_BASE_DIR and
> returned from this static method:
> It is then used in settings.cxx to instantiate mIconThemeScanner for class
> ImplStyleDate. The default theme is set using
> Here's a list of relevant files that will help you get around:
> As for the actual proper way of changing this to also look in the
> $USER/libreoffice dir, I'm going to leave it to someone who is well versed
> on theme/ui code to advise you on the best approach. If you start working on
> this please assign it to you. Thank you!
Most likely the simplest solution is to always handle a std::vector<OUString> for GetStandardIconThemePath and the IconThemeScanner::Create
This is a really simple and quick change.
Here's my take on this, libreoffice-side https://gerrit.libreoffice.org/#/c/43341/
and taking this palette extension example of sbergman of...
I will attach an iconset extension that adds the breeze_svg iconset as an extension
Created attachment 136923 [details]
on my installation palette extension didn't change anything. Where should I see something changed?
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":
tdf#110742 add support for icon themes via extension manager
It will be available in 6.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
re #8 it adds a new palette to the drop down palette list in the color selector
*** Bug 107117 has been marked as a duplicate of this bug. ***
*** Bug 89368 has been marked as a duplicate of this bug. ***