Skip to content

2.35.0: every metric in hover popup, scrolls - #76

Merged
rajhansgithub merged 2 commits into
mainfrom
claude/project-thread-hjkws1
Dec 2, 2026
Merged

rajhansgithub merged 2 commits into
mainfrom
claude/project-thread-hjkws1

Conversation

@rajhansgithub

@rajhansgithub rajhansgithub commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Requested by Rajhans · project thread

Every item on every Monitor page can go in the tray hover window. No limit. It scrolls when taller than the work area.

  • "Show in hover" button on: overview cards, VRAM, chips, every drive, display, adapter, Bluetooth device (List / Rack / Hero), add-on tile and its devices, every chart, part card and card of CPU / Memory / GPU / Drives / Displays / Network / Battery. Single facts get one when pointed at.
  • hover_more setting: ordered list of ids (device id, drive letter, adapter GUID, screen name). Missing devices are skipped.
  • Hover window draws the picked items with the Monitor page's own code (monitor/hover.rs), from the sensor thread's sample. Nothing is read on the UI thread; the sensor thread reads only what is picked, only while the window is open. Bluetooth stays on its own thread.
  • Height clamped to the work area (5 px taskbar gap kept), smooth wheel scroll, thin scroll bar. Scroll code shared with the main window (scroll.rs); the popup has its own vsync clock.
  • New Adapters card on the Network page. Stray range control on the Add-ons page removed.
  • CI: opens the panel with 20 items, checks it stays in the work area and scrolls.

Frame times (107 items, 26,448 px, 150 %, 1360 px tall window, one test alone): full redraw avg 2.5 / p95 6.2 ms (once a second); scroll frame avg 0.10 / p95 0.16 ms; layout 0.05 ms.
Tests: 475 + 6 pass (local check steps run in the worktree). 12 new: id save/load, missing devices, what is read, no item limit, frame times, height clamp, scroll maths.

Real app (release build, 29 items, 3440x1440, on a hidden desktop): window 10-1387 px with the taskbar at 1392 (5 px gap), about 130 frames a second while scrolling, paint avg 1.3 / p95 2.3 ms, scroll part avg 0.4 / p95 1.1 ms, no crash.

@rajhansgithub rajhansgithub self-assigned this Dec 2, 2026
@rajhansgithub
rajhansgithub merged commit 4b8bb97 into main Dec 2, 2026
2 checks passed
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