-
Improvement
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
On Windows and macOS Picard can detect the desktop preference for light / dark UI and use it. For Linux this currently does not work. There are usually two cases:
- On KDE the color palette for Qt follows the system settings, so if the user selects a dark theme Picard will also be dark, event when using the default Fusion theme and not the system theme.
- On GNOME Picard will by default to white on most systems only. It is possible to get dark appearance by setting appropriate Qt theme and configuring Picard to use it (instead of default Fusion).
There is a proposed D-Bus interface to provide the info about using light or dark appearance via the freedesktop.org settings portal. This seems to get adopted by the major desktop environments. Further information:
https://blogs.gnome.org/alexm/2021/10/04/dark-style-preference/
https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.Settings.xml
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/49
Properly supporting this would consist of two things:
1. Query the D-Bus interface to get the user preference
2. Actually implement a dark palette, similar to how it is done on Windows