Skip to content

v2.8.1: Header Metric Alignment, Vector Theme Toggle & Toolbar Polish

Choose a tag to compare

@xyasharx xyasharx released this 10 Oct 09:29
· 198 commits to main since this release
b3a3f5c

Dendro 2.8.1: Header Metric Alignment, Vector Theme Toggle & Toolbar Polish

Summary of Changes

  • Vector Theme Toggle & Dark Mode Contrast Fix: Replaced desktop environment weather symbolic icons with resolution-independent vector Sun (#fab387 amber) and Moon (#1e66f5 sapphire) icons rendered directly via QPainterPath. This resolves the dark-mode visibility defect caused by GNOME/Adwaita's hardcoded #2e3436 charcoal fills while eliminating external theme dependencies for critical UI chrome.
  • Unified 30px Header Button Height: Resolved vertical height mismatches where the theme toggle button and the primary "Upgrade All" button rendered 4 pixels taller than neighboring toolbar buttons. Standardized all header controls (HeaderToolBtn, UpdatesIndicatorBtn, and ApplyButton) to an exact 30px outer height.
  • Streamlined Updates View Toolbar: Removed the redundant "Show All Packages" button from the header bar when reviewing updates. The header "Updates (X)" indicator pill now serves as the single toggle to enter and exit the updates review list, freeing up horizontal toolbar space and preventing layout wrapping on compact laptop displays.
  • Defensive Icon Candidate Resolution: Replaced Python chained or expressions for QIcon.fromTheme() lookups with a dedicated _find_theme_icon helper that explicitly checks .isNull(), ensuring candidate fallbacks are properly evaluated.

Verification & Packaging

  • RPM Build: Verified clean %prep, %build, and %check phases under Fedora 40+ mock configurations.
  • AppStream Validation: Verified appstreamcli validate --no-net data/io.github.xyasharx.Dendro.metainfo.xml.
  • Desktop Entry Validation: Passed desktop-file-validate data/io.github.xyasharx.Dendro.desktop.

Full Changelog: v2.8.0...v2.8.1