From f65aaf7c569f3238b15e6e7bb0d3c28ffb244c69 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 27 Nov 2026 20:32:29 -0300 Subject: 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. --- test/macos-snapshots/addon-rasters.golden | 0 test/macos-snapshots/addon-rasters.snap | 9 +++++++++ test/macos-snapshots/picker-layers.golden | 2 ++ test/macos-snapshots/picker-layers.snap | 13 +++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 test/macos-snapshots/addon-rasters.golden create mode 100644 test/macos-snapshots/addon-rasters.snap create mode 100644 test/macos-snapshots/picker-layers.golden create mode 100644 test/macos-snapshots/picker-layers.snap (limited to 'test/macos-snapshots') diff --git a/test/macos-snapshots/addon-rasters.golden b/test/macos-snapshots/addon-rasters.golden new file mode 100644 index 00000000..e69de29b 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 -- cgit v1.3