summaryrefslogtreecommitdiff
path: root/gui/bench
diff options
context:
space:
mode:
Diffstat (limited to 'gui/bench')
-rw-r--r--gui/bench/RESULTS.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/gui/bench/RESULTS.md b/gui/bench/RESULTS.md
index 0426dce..5281ac2 100644
--- a/gui/bench/RESULTS.md
+++ b/gui/bench/RESULTS.md
@@ -132,3 +132,25 @@ without executing the target. Screenshot:
`/tmp/ztrace-ui-review/native-final-reviewed.jpg`. Native font-shortcut injection
was unavailable through the automation tool's punctuation grammar; the actual
headless key handler passed the nine size/zoom combinations.
+
+## Native zoom and restart follow-up
+
+The original headless size tests missed a native resize feedback loop: `canvas()`
+also changes the window dimensions. Dividing the window size by font zoom and
+passing it back to `canvas()` repeatedly enlarged the window when zoomed out.
+The GUI now keeps the canvas at the actual window size and scales drawing,
+clipping and pointer coordinates independently. No renderer-library changes were
+needed. `test/restart.py --native` verifies the actual SDL window/backing stays
+800×700 through 60–200% zoom and repeated zoom key presses, including scaled
+button hits and tiny-overlay lens close controls. Headless checks run in the GUI
+suite; native checks are explicit because they require a display.
+
+Restart is available through the toolbar arrow, Shift-r, and `restart`. Tests
+cover exited, running and stopped targets; each launch creates a fresh recording,
+retains the same executable/arguments, and leaves no previous target running.
+Breakpoints and JIT symbols reset because process addresses may change.
+
+The reboot cleared the historical `/tmp` artifacts listed above. The same V8
+revision's runtime, source and all split DWARF artifacts have been restored into
+`.ws/v8-debug/`, an ignored persistent workspace cache. Historical timing results
+remain as reported; the fresh UI regression does not remeasure V8 stepping cost.