gallery/harnesses/gtauri
Greg Pomerantz 312d87f15d gtauri: pinch zoom about pointer midpoint + live filesystem watching
Pinch: the image now follows the hand (midpoint drift) and zooms
ABOUT the midpoint — the image point under the fingers stays put
while the scale changes. Per-frame delta math, clamped as before
(fit min, image-edge pan limits).

Live watching: new photos appear in the grid within ~2s of being
written. inotify does not work on Android's FUSE-backed external
storage, so the watcher polls a tree signature (dir mtimes only —
a few dozen stats/s) every second; on change (or a 30s safety-net
full pass) it debounces 600ms for the write burst, then runs the
incremental rescan (walk + DB diff + emit) off the main thread.

Supporting changes:
- Staged corruption: a decode failure no longer marks an id broken
  immediately — 3 consecutive failures are required, and a success
  clears the count. A photo still being written fails once or twice
  and then decodes; genuine garbage gives up and stays gray.
- Grid rebuild preserves the viewport across a live rescan (pins to
  the cell that was on top), so a new photo landing at the top does
  not jump the scroll position.
2026-11-01 18:02:09 -05:00
..
capabilities gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
frontend/dist gtauri: pinch zoom about pointer midpoint + live filesystem watching 2026-11-01 18:02:09 -05:00
gen gtauri: fix deep-scroll stall + instant viewer 2026-11-01 09:11:11 -05:00
icons gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
scripts gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
src gtauri: pinch zoom about pointer midpoint + live filesystem watching 2026-11-01 18:02:09 -05:00
.tauriignore gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
app-icon.png gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
build.rs gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00
Cargo.lock gtauri: fix deep-scroll stall + instant viewer 2026-11-01 09:11:11 -05:00
Cargo.toml gtauri: fix deep-scroll stall + instant viewer 2026-11-01 09:11:11 -05:00
tauri.conf.json gtauri: Tauri v2 gallery harness WORKING on emulator 2026-10-31 18:59:51 -04:00