Skip to content

sysmon: sharper text and cleaner bars in the system monitor - #4460

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
Conava:sysmon-sharp-text
Nov 28, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
Conava:sysmon-sharp-text

Conversation

@Conava

@Conava Conava commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Description

Following the feedback on Discord about the system monitor dash cards, mainly font issues with 1.25 scaling in the vertical layout (Screenshot 1):

  • Text in every layout is sharp now. The content was scaled down to fit its card, which made the text blurry and thin at fractional display scales. It now gets laid out at the smaller size directly.
  • The Bars values have the same size and weight as in Tiles and List.
  • The icons under the bars only show where they tell two values apart (memory used next to swap, disk read/write) or where the value has no unit (CPU clock), since the value text already shows % and °.
  • The gaps between bars grow with the font scale, so the values don't crowd each other at 125%.
  • Tiles is now the default Bars style, brackets is still there as the other option. This only changes cards that never had a style picked, and since brackets isn't in a release yet no released config is affected.

No new strings to translate.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Main issue from discord:
screenshot_2026-11-27_19-28-16

Better icon clarity:
screenshot_2026-11-28_14-33-01

Removed unnecessary brackets and symbols like the % in front of the bar for usage:
screenshot_2026-11-28_14-38-47

screenshot_2026-11-28_14-40-05

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: docs(dms): document the system monitor bar widget dux-docs#221

The system monitor content was shrunk to fit its card with a scale
transform, so text was rasterized at full size and then downsampled.
At fractional output scales that left values soft and thin. Every
layout (bars, tiles, list, graphs, top processes) now lays out at the
fit factor instead, through one shared set of zoomed sizes, so text,
icons and tracks are drawn at their final size on whole pixels.

The factor is settled on polished layouts and only grows back when
the box, config, font, translations or row shape change. While a card
has no rows (dash closed) it keeps its last factor, and the content
stays hidden until every item is built, so a card doesn't show a
half-built frame on open.

The bars layout shows its values at the same size and weight as tiles
and list. The marker under a bar only shows where it tells values
apart (disk read/write, memory used next to swap) or where the short
value has no unit (CPU clock), and the gaps grow with the font scale.

Tiles is now the default bars style and listed first; brackets stays
selectable.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the zoom/settle loop in MonitorContent (plan vs zoomed layout units, ceiling, idle and built guards, deferred fit writes), MonitorRepeater revision/built replacing the old per-file counters (bar widget bounds included), required zoomed wired at every MonitorTile/Bars/Graphs/ListRow/ListCard/Processes user including SysmonDeviceContent, marker/bracket visibility vs the column and stack sizing, the barStyle default change against normalizeConfig/upgradeLegacy/paintsTiles and the updated tests, Theme tokens, deprecated shims, timers and idle cost. Model: claude-opus-5-5.

@bbedward
bbedward merged commit 00d9e9a into duxlabs-dev:master Nov 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants