summaryrefslogtreecommitdiff
path: root/test/macos-snapshots
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-27 20:32:29 -0300
committerGabriel Schneider <[email protected]>2026-11-27 20:32:29 -0300
commitf65aaf7c569f3238b15e6e7bb0d3c28ffb244c69 (patch)
tree52038152bfc588f526960a6d43e465bb0fd36fd4 /test/macos-snapshots
parent56f49018ffb9d5b29989d349aefaf6f9e65cf25e (diff)
downloadpardes-f65aaf7c569f3238b15e6e7bb0d3c28ffb244c69.tar.gz
pardes-f65aaf7c569f3238b15e6e7bb0d3c28ffb244c69.zip
Fix macOS tag rendering and cancel LSP preload on exit
Hide retired tag layers and draw every row of live compact layers, including picker rows and their caret. Cancel the language-server opener with the rest of the inbox on shutdown and let the preload handshake unwind while keeping query startup protected. Verified AppKit picker rendering and retirement, PDF and image rasters, and shutdown with a stalled language server.
Diffstat (limited to 'test/macos-snapshots')
-rw-r--r--test/macos-snapshots/addon-rasters.golden0
-rw-r--r--test/macos-snapshots/addon-rasters.snap9
-rw-r--r--test/macos-snapshots/picker-layers.golden2
-rw-r--r--test/macos-snapshots/picker-layers.snap13
4 files changed, 24 insertions, 0 deletions
diff --git a/test/macos-snapshots/addon-rasters.golden b/test/macos-snapshots/addon-rasters.golden
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/macos-snapshots/addon-rasters.golden
diff --git a/test/macos-snapshots/addon-rasters.snap b/test/macos-snapshots/addon-rasters.snap
new file mode 100644
index 00000000..94d920f9
--- /dev/null
+++ b/test/macos-snapshots/addon-rasters.snap
@@ -0,0 +1,9 @@
+# Open both formats in fresh cores so each must produce its own raster.
+start 32 105
+native-metrics
+open-fixture ../../docs/9p.pdf
+wait-raster
+start 32 105
+native-metrics
+open-fixture ../../docs/site/media/chords.png
+wait-raster
diff --git a/test/macos-snapshots/picker-layers.golden b/test/macos-snapshots/picker-layers.golden
new file mode 100644
index 00000000..5796f112
--- /dev/null
+++ b/test/macos-snapshots/picker-layers.golden
@@ -0,0 +1,2 @@
+== picker second row drawn from its layer
+== picker layer retired
diff --git a/test/macos-snapshots/picker-layers.snap b/test/macos-snapshots/picker-layers.snap
new file mode 100644
index 00000000..1ee4c5a7
--- /dev/null
+++ b/test/macos-snapshots/picker-layers.snap
@@ -0,0 +1,13 @@
+start 24 80
+native-metrics
+wait 8000 $
+text for n in a b c; do touch "$n.txt"; done; printf 'PICKER_FIX''TURES_READY\n'
+key enter
+wait 8000 PICKER_FIXTURES_READY
+key c-b
+text ff
+stable 250 3000
+check-picker
+key esc
+stable 100 3000
+check-retired-picker