Repository navigation
Conversation
The bars layout gets a third style, Group, next to Tiles and Brackets: the device icon starts its first row and the device's other values sit indented below it, each with its own icon. Tiles and Brackets now label every value after the device's main one with its own icon (thermometer, speed, swap, arrows for disk and network), indented so the main bar starts where those icons start. This replaces the markers that only appeared where two values shared a unit, which left single icons and a percent sign in front of the main value. VRAM gets its own icon instead of the Memory one. In auto orientation a tall card whose upright bars cannot fit even at the smallest zoom lays them flat until it is wide enough, instead of drawing past the card. The bars read their available height from the card, which removes a binding loop through the content size. Settle only polishes the layouts and positioners it measures, skips paused content now that its rows are kept, and queued calls return once their host is torn down; SysmonSource does the same for a queued rebuild.
Claude reviewOne regression to fix before merging. Everything else checked out.
Checked: the new Group style, line icons, sizing, vertical layout and spacing in MonitorBars; MonitorContent auto-flat orientation, the layFlat callLater, the idle/alive guards and the polishLayouts filter; the barStyle enum and how it is normalized; the SysmonSource teardown guard; reuse of the "Group" i18n term; deprecated shims; idle CPU and timers. Docs are linked (dux-docs#221). Model: claude-opus-5-5. |
A short clock has no unit in its text, so it keeps its speed icon even as a device's main value.
Claude reviewNo issues found. The earlier finding about a short main-value clock losing its unit is fixed in 61e06db. Checked: the new |
|
I gotta say, I dislike the group style and am not sure if we need yet another option. Imo it doesn't look clean at all, having two icon sizes, icons not aligned to each other and the big one kinda disconnected from its value because the small icon sits right next to its own value while the big one is kinda shared and kinda labeling the first bar. Also the small icon for only a one bar causes the bars to start at different positions and while the values are mostly not comparable (except for upload/download maybe) that adds to the parts that seem off to me here. |
|
Cant really disagree with you there @apollo79. |
Description
Follow-up to #4460 with more feedback on the system monitor bars layout:
VRAM also has its own icon now instead of the Memory one.
Also hardened the layout fitting after the crash fixed in 30d4357: it only touches the layouts it measures, skips cards that aren't shown and does nothing once a card is torn down.
Type of change
Related issues
Screenshots / video
Examples
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings