Repository navigation
2.35.0: every metric in hover popup, scrolls - #76
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
hover_moresetting: ordered list of ids (device id, drive letter, adapter GUID, screen name). Missing devices are skipped.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.scroll.rs); the popup has its own vsync clock.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.