You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Battery and sound widgets leave an empty 40 pt gap before their icon #130
Built-in battery and audio widgets without a layout draw their icon and text at the right of a tile about 40 pt wider than its content. The space on the left stays empty.
Steps to reproduce
Add { "id": "power", "type": "battery", "position": "right" } or an audio widget, without a layout.
Leave the battery level or the volume unchanged.
Expected
The tile fits its icon and text, or the graph shows the value's history as it did before 0.5.0-beta.72.
Environment
StableBar 0.5.0-beta.20261020113356.133 (build 133), Developer ID build
macOS 26.6.2 (25G83), Apple M4 Pro
A local theme that sets no widths; both widgets use the default layout
Evidence
StableBar --query shows a single sample for each widget:
WidgetConfiguration.defaultLayout (Sources/StableBar/WidgetLabel.swift) puts a 40 × 16 graph before the icon and text of a provider widget whose output has a value, as the README documents.
PowerMonitor and AudioMonitor set value (percent and volume).
Sparkline (Sources/StableBar/BarView.swift) only moves to a first sample and strokes nothing. It spaces samples across 60 slots, so a few changes draw a stub of 40 × (n − 1) / 59 pt.
Workaround: a layout replaces the default layout, for example "layout": { "type": "row", "children": [{ "type": "symbol", "source": "icon" }, { "type": "field", "field": "text" }] }.
Additional feedback: the graph itself is an unsuitable default for battery and sound, even when it has enough samples to draw. Prefer an icon and current value by default, with a graph available through an explicit display setting. The store's Battery status package already uses an icon/value layout; the built-in widgets still inherit the automatic graph.
Activity
Seb-GRAF commentedon Oct 21, 2026
Additional feedback: the graph itself is an unsuitable default for battery and sound, even when it has enough samples to draw. Prefer an icon and current value by default, with a graph available through an explicit display setting. The store's Battery status package already uses an icon/value layout; the built-in widgets still inherit the automatic graph.
Triaged by Codex via T3 Code (gpt-6-astra).
stablebar-releases commentedon Oct 23, 2026
🎉 This issue has been resolved in version 0.6.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀