Add per-Mount scrolling with shared paint and input clipping
Verify Tessera GUI / verify (push) Failing after 7m33s

This commit is contained in:
2026-10-21 22:05:08 +08:00
parent 7acc5783a5
commit 6e69c5e5ce
18 changed files with 784 additions and 33 deletions
+11
View File
@@ -29,6 +29,7 @@
| app.rs | Window events, logical viewport publication, redraw and system widget pointer/keyboard/IME routing |
| clipboard.rs | UTF-8 macOS clipboard adapter independent of Finder locale, with strict decoding and surfaced errors |
| system_ui/ | Host-only management widget library: stable IDs, interaction, theme and reusable control drawing |
| scroll.rs | Per-Mount offsets, nested scrollIntoView, shared geometry/clip projection and wheel ancestor selection |
| scene.rs | Page and developer-tools display-list composition |
| developer_tools.rs | Unified Console prompt/output stream, caret/IME mapping, full Sources, Network inspector, theme, scrolling, overlay splitters and focus |
| sources.rs | Disconnected cloud workspace and provider boundary for listing/opening complete source files |
@@ -115,3 +116,13 @@ current call budget, passes the current managed Window, and validates a real
Block result before opening it. Native base visual methods and runtime result
checks remain the rendering boundary. Matching present names without an explicit
implementation keep the summary fallback and do not execute guest methods.
ScrollBlock keeps viewport dimensions in the managed Block properties and keeps
scroll offsets on Mounts. Layout measures content without a finite viewport bound;
a post-layout projection clamps offsets, translates descendants and intersects
ancestor clips before committing Mount geometry. It rebuilds native commands and
per-command clips; source painting preserves the same clip table. Input, focus
outlines and public hit queries consume this projection. Wheel transport carries
finite signed deltas, validates the frame/window/session, and invokes the actual
Mount.scrollBy method without changing guest focus. Mount requests mark a
per-window projection refresh; snapshots/caches never own business objects.