Fixes for M-02 to M-14, G-01 to G-14, K-02 to K-04, X-04 to X-14, not yet reviewed

Committed before review so Windows and WSL builds can start.
Each fix was tested and mutation-checked here; the codex review
of each item is still to come, so tasks/BUGS.md stays unticked.

M-02 is mid-review: round 1 findings are fixed (apps/ely-mark/src/tally.rs).
K-01 stays deferred. The ElyMark window test mark-outside.sh failed
once at its crash-recovery step in the last run; not yet looked into.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-10 02:29:19 -04:00
1 parent 6505f35669
commit d59159cea2
75 files changed
+1482 -354

No files matched your search

+11
View File
@@ -190,6 +190,17 @@ for _ in $(seq 60); do [ "$(count "web: printed")" -gt "$printed" ] && break; sl
[ "$(count "web: printed")" -gt "$printed" ] || fail "print made no PDF"
sleep 2
key 'key code 53'
# Two prints at once: the second never cancels the first.
sleep 1
printed=$(count "web: printed")
osascript -e 'tell application "System Events" to keystroke "p" using command down' -e 'tell application "System Events" to keystroke "p" using command down' >/dev/null
# Panels are modal: close one, then the next prints.
for want in 1 2; do
for _ in $(seq 80); do [ "$(count "web: printed")" -ge $((printed + want)) ] && break; sleep 0.25; done
[ "$(count "web: printed")" -ge $((printed + want)) ] || fail "a second print cancelled the first: $(grep -E "web: printed|print-" "$work/log" | tail -n 6)"
sleep 2
key 'key code 53'
done
# Rich copy carries HTML; it overwrites the clipboard.
if [ "${ELY_CLIPBOARD_TEST:-}" = 1 ]; then
key 'keystroke "f" using command down'
+16
View File
@@ -438,4 +438,20 @@ waits 'mark: shown as "source"'
kill "$app"
wait "$app" 2>/dev/null || true
app=
# A clean tab with the disk's text closes without asking.
clean=$work/notes/c.md
printf 'clean\n' >"$clean"
launch "$clean"
waits 'mark: shown as "visual"'
changes=$(count "unsaved false")
printf 'outside\n' >"$clean.tmp"
mv "$clean.tmp" "$clean"
more "unsaved false" "$changes"
sleep 1
[ "$("$work/ax-press" "$app" Close AXButton)" = pressed ] || fail "no tab Close"
sleep 2
! seen "Don't Save" || fail "a clean tab that took the disk's text asked to save"
kill "$app"
wait "$app" 2>/dev/null || true
app=
echo "ok: mark outside"