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
A System monitor showing CPU and memory turns all orange when only one of them is high #645
A System monitor widget that shows CPU and memory side by side takes the warning colour as a whole when only one of them crosses its threshold. With CPU at 94 % and memory at 75 %, the MEM label, its value and its meter turn orange along with the CPU.
Steps to reproduce
Add a System monitor widget (details on, no rules), and choose Shows → CPU and memory, or give it a layout with a CPU part and a memory part.
Use a theme or widget style that colours states.warning, as newly added System monitor widgets do.
Push CPU use over cpuWarning (or set CPU use in Warnings to 1 %) while memory stays under memoryWarning.
Expected
Only the blocks showing CPU take the warning colour; the memory part keeps its normal colours, and the other way round when memory is high.
Environment
StableBar 0.15.0
macOS 27.2.1
A two-column layout (CPU label, value and graph; MEM label, value and meter), and the built-in CPU and memory display choices.
Evidence
The same scene drawn offscreen from main, both layouts, Dark and Light:
Diagnosis
systemWarning in Sources/StableBar/NativeMetrics.swift returns one data state for the widget when CPU or memory crosses its threshold, or on memory pressure or heat. widgetDataState in StyleResolution.swift hands that state to the whole widget, and every layout block resolves it through ResolvedWidgetStyle.blockStates, so nothing tells the CPU part from the memory part.
Activity
fix: warn a System monitor's memory icon with its memory
chore(release): 0.16.0 [skip ci]
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀