Repository navigation
v2.8.1: Header Metric Alignment, Vector Theme Toggle & Toolbar Polish
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 (
#fab387amber) and Moon (#1e66f5sapphire) icons rendered directly viaQPainterPath. This resolves the dark-mode visibility defect caused by GNOME/Adwaita's hardcoded#2e3436charcoal 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, andApplyButton) 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
orexpressions forQIcon.fromTheme()lookups with a dedicated_find_theme_iconhelper that explicitly checks.isNull(), ensuring candidate fallbacks are properly evaluated.
Verification & Packaging
- RPM Build: Verified clean
%prep,%build, and%checkphases 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