[Libreoffice-bugs] [Bug 143302] New: Detect switches between dark and light GTK themes and automatically switch to the corresponding icon set when available

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 11 19:30:52 UTC 2021


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

            Bug ID: 143302
           Summary: Detect switches between dark and light GTK themes and
                    automatically switch to the corresponding icon set
                    when available
           Product: LibreOffice
           Version: 7.0.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: nekohayo at gmail.com

LibreOffice already has dark variants for two of its icon themes (Sifr and
Breeze). I wish more of its icon themes (particularly Colibre and Sukapura) had
dark variants, but this is not the issue today.

What I'm reporting today is that when the GTK theme changes, LibreOffice should
detect if it's the normal version of a theme or if it's a dark variant, and
then, if it has a compatible icon theme (that has a light and dark variant),
switch the icon theme accordingly, automatically. Otherwise, things typically
are unrecognizeable in dark mode.

This is particularly noticeable when you have systems where the OS (or a
script, or an extension such as
https://extensions.gnome.org/extension/2236/night-theme-switcher/). For what
it's worth, Firefox does it and handles it beautifully, without needing user
intervention or an app restart, when its theme is set to "system"; so it's
possible, theoretically & technically speaking.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210711/81e7f9c9/attachment.htm>


More information about the Libreoffice-bugs mailing list