mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
* feat: linux caption buttons follow the desktop: layout, style and icon theme The title bar's minimize/maximize/close buttons now match the desktop: - Layout and side: GNOME button-layout via the settings portal (live), KDE kdeglobals ButtonsOnLeft/Right, else gtk-3.0 settings.ini. - Style family (GNOME round, Breeze chevrons, Windows) follows the desktop, then the GTK theme. - Glyphs come from the icon theme's window-*-symbolic.svg (freedesktop lookup with Inherits and hicolor; unlisted theme directories such as symbolic/ui are searched lazily), rasterized with resvg at the real pixel size, recoloured and cached; missing icons fall back to the built-in vector glyphs. Override: PHOTOCRAFT_CAPTION_ICONS=<theme>|none. - Theme and portal work runs on a worker thread (10-22 ms per theme). * feat: linux caption buttons follow the desktop: layout, style and icon theme The title bar's minimize/maximize/close buttons now match the desktop: - Layout and side: GNOME button-layout via the settings portal (live), KDE kdeglobals ButtonsOnLeft/Right, else gtk-3.0 settings.ini. - Style family (GNOME round, Breeze chevrons, Windows) follows the desktop, then the GTK theme. - Glyphs come from the icon theme's window-*-symbolic.svg (freedesktop lookup with Inherits and hicolor; unlisted theme directories such as symbolic/ui are searched lazily), rasterized with resvg at the real pixel size, recoloured and cached; missing icons fall back to the built-in vector glyphs. Override: PHOTOCRAFT_CAPTION_ICONS=<theme>|none. - Theme and portal work runs on a worker thread (10-22 ms per theme). --------- Co-authored-by: Brandon Thomas <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>