https://bugs.documentfoundation.org/show_bug.cgi?id=154397

            Bug ID: 154397
           Summary: Symlink an icon pack with _dark suffix doesn't work
           Product: LibreOffice
           Version: 7.4.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: paul.kepin...@orange.fr

Description:
I maintain the Yaru icon pack, and it is already supporting very well the dark
mode by design (even if I plan a real dark variant).
In order to avoid to take too much disk place (all variants in png and svg is
already more than 100mo), I'd like to simply create a symlink between the
default variant "images_yaru.zip" file to a "images_yaru_dark.zip" file.
Awaiting LO supports icon pack inheritance.
Currently the automatic mode of LO doesn't pick the yaru icon pack in dark
mode, but it does in light one.

Sadly this symlink trick doesn't work, because LO seems to read the symlink
file like a simple duplication of the source file, without taking into account
the name of the symlink file. It creates two same entries in the icon selector.
If I do a simple copy of "images_yaru.zip" to "images_yaru_dark.zip", it works
as expected and I have two different entries: "Yaru" and "Yaru (dark)".

Steps to Reproduce:
1. symlink an icon pack zip with a _dark suffix
2. restart LO
3. Go to display settings and see the duplicated rows

Actual Results:
It shows two duplicated icon pack.

Expected Results:
It should display a normal and a dark variant.


Reproducible: Always


User Profile Reset: No

Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to