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

            Bug ID: 148764
           Summary: Icon themes need to include metadata and different
                    variants in one package
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com
                CC: caol...@redhat.com,
                    heiko.tie...@documentfoundation.org,
                    kain...@gmail.com, riz...@libreoffice.org
            Blocks: 106228

Current icon themes are packed in infinitely naïve way: a zipped directory
(which name consisting of a single "word" (!) makes its UI name (tdf#141000 is
an example of a palliative attempt to make it somehow work)) filled with tons
of sub-directories, image files, and a "links.txt" mapping those images to
internal resource names - but no metadata like true name, version, or icon
variants.

This makes many things impossible. You can't have normal names (e.g., some
characters are prohibited in file names on many FS); you can't have versioning;
you can't make themes support dynamically changing environments (switching
night mode, dark mode, different resolutions, etc.) which is common today - the
resolution may change when a window moves from one monitor to another, and
day/night or light/dark mode may change depending on time of the day. Icon
themes get multiple items in the View->Icon Style list: Breeze; Breeze (SVG +
dark); Breeze (SVG); Breeze (dark) ...

The normal icon theme should:
1. Include normal metadata that would allow to have normal naming independent
on the filename, versioning, integrity hash, copyright, etc.;
2. Allow to contain several variants (e.g. light and dark), allowing
application to choose relevant variant of the user-chosen theme automatically
depending on environment;
3. In each variant, allow to have multiple resolutions (ideally, a vector - SVG
- and optionally several pre-rendered bitmap variants for typical and/or
hard-to-render-automatically resolutions);
4. Each resource should also allow to have several sizes (to minimize
proliferation of resource variants, when we need "small" and "large" resources
e.g. for toolbars depending on user's toolbar button size preference).

There needs to be a re-design of the icon theme packing concept/design to
include these (and maybe others?) considerations.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=106228
[Bug 106228] [META] Icon theme issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to