Skip to content

Half-screen hover card: top 5 programs, hottest sensors, connections, 4-series chart, no pink - #433

Merged
ataturhan21 merged 2 commits into
mainfrom
feat/432-half-screen-hover-card
Nov 29, 2026
Merged

ataturhan21 merged 2 commits into
mainfrom
feat/432-half-screen-hover-card

Conversation

@ataturhan21

@ataturhan21 ataturhan21 commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Makes the Windows hover card about half the screen, with top-5 lists, hottest sensors, programs by connections and a 4-series 24-hour chart, and removes pink from every platform.

What changed

  • Card size: 50% of the work area wide (at least 600 DIP, never wider than the work area minus margins), up to 90% of its height, recomputed per monitor and DPI. 2 columns from 760 DIP, 1 column below. Title 20 px (15 pt), body 15 px (11.25 pt).
  • Top 5 programs for CPU, memory, each GPU and disk. 2 columns from 760 DIP, so the laptop (1536×912) gets 2 columns too: compact rows (list lines 14 px), the per-core strip, drives and adapters 1 line each and the chart beside the meters, with every list at 5 lines; with 2 busy GPUs their lists merge into 1. The 27" size is roomy with the big chart.
  • Network: programs ranked by open connections (established TCP + UDP endpoints, from the IP Helper tables), labelled as such, plus each physical adapter's download and upload speed.
  • Temperature: the 5 hottest sensors readable without admin rights (ACPI zones, GPUs, the helper, and every LibreHardwareMonitor sensor when it runs).
  • Last 24 hours: CPU, RAM, GPU and temperature with a legend, gridlines and hour labels; history.csv gains RAM and GPU columns (old rows still load).
  • Palette: no pink, rose or fuchsia on Windows, GNOME, macOS or the site favicon; memory is teal, network indigo, heat ends in red, dark critical text is #FCA5A5. The self-test checks every accent's hue and the light list headings' contrast (4.5:1).
  • New DESIGN.md, --render <dir> <w>x<h> card renders and --cost CPU measurement.

Proof

  • Self-test: 199 passed, 0 failed (was 171). sh tools/verify.sh windows-core privacy: PASS. Linux Docker (GNOME): 138 + 15 + 17 checks pass. macOS core: 74 passed.
  • Connection counts match netstat -ano: 272 of 272, 48 programs, 0 differing.
  • Renders (bitmap incl. 14 DIP shadow margin): laptop 796×832 px at 100%; Dell 1308×1200 at 100%, 1962×1800 at 150%.

CPU cost (60 s, --cost)

State Before After
Card closed (run side by side) 0.33% of 1 core 0.23% of 1 core
Card open, laptop 125% 6.07% (card 410×802 px) 5.77% (card 995×1009 px)
Card open, Dell 100% — 6.74% (card 1308×1053 px)

The card shadow is now drawn clipped outside the card, which cut a big card's draw from about 693 ms to about 123 ms.

Limits

  • GNOME and macOS get the palette only; their card sizes are unchanged.
  • Drive and board temperatures appear only when LibreHardwareMonitor runs.
  • Windows has no per-program network bytes without admin rights, so the Network list counts connections.
  • --render sizes are DIP work areas.
  • Compact list lines are 14 px (10.5 pt), under the 11 pt body size, so all 5 lines fit on the laptop.
  • CPU cost was measured before the 760 DIP layout change; the drawing work is the same kind.
  • windows/src/WidgetStrip.cs is unchanged.

@ataturhan21
ataturhan21 merged commit 84b6227 into main Nov 29, 2026
5 checks passed
@ataturhan21
ataturhan21 deleted the feat/432-half-screen-hover-card branch November 29, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant