Skip to content

Ink Notes 0.1.5-beta.44

Pre-release
Pre-release

Choose a tag to compare

@mgHurryo mgHurryo released this 13 Nov 17:30
· 20 commits to master since this release
109b578

Follow-up round (#452-#458).

Highlights

  • Page-tag entry stays clickable when read-only (with a reason line) instead of a dead button; the tagging popover opens beside its thumbnail, not onto the next page; square bezel pinned on WebKit (#453)
  • One shared rail width across notebook and PDF editors, with legacy-key migration; 36px touch grip on coarse-pointer devices (#454)
  • The fast-paging rail holds for 3s of quiet - brief 1-2s trackpad finger lifts no longer retract it (#455)
  • Same-direction horizontal swipes work again: a sustained-swipe window reopens the page budget once per resumption, ending the swipe-once-then-stuck deadlock that forced a reverse swipe (#456)
  • The ink worker no longer gets killed by queue starvation: hang guards measure work time from a receipt ack, not dispatch (#457)
  • Burst paging reads as fast stepping (120ms/page) with a transient "12 / 64" destination HUD (#458)

Changes

  • Keep the page-tag entry clickable and anchor its popover beside the page (#453): a write-blocked or reading-mode rail no longer silently swallows left and right clicks on the tag box - the entry stays clickable (aria-disabled, dimmed) and the shared tagging popover opens READ-ONLY with a reason line (reading mode / source-PDF-changed) instead of a dead button with no feedback; the popover now opens BESIDE its thumbnail (right side, over the editor surface, viewport-clamped) instead of below it, which on iPad stacked the popover onto the NEXT page's thumbnail; the tag button geometry is pinned cross-engine (appearance reset, aspect-ratio, min sizes) so WebKit paints the same square bezel Chromium does.
  • Share one rail width across editors and widen the touch grip (#454): the notebook and PDF page rails read and write ONE persisted width (ink-page-rail-width) with the legacy per-view keys migrating on first read and retiring after the first completed drag, so a width set on one editor applies everywhere; on coarse-pointer devices (hover: none) the right-edge resize grip widens from 14px to 36px while the visible 2px line stays unchanged - a finger could practically never start the old drag strip.
  • Hold the fast paging rail across brief trackpad finger lifts (#455): FAST_PAGING_RAIL_IDLE_MS rises from 1300ms to 3000ms - pausing 1-2s mid-burst no longer retracts the rail under the user's hand, and resuming no longer re-crosses the fast-paging threshold because the collapse reset the pacer; wheel input of any kind still refreshes the window and queued-drain re-arm logic is unchanged (Chromium feedback #3).
  • End the same-direction horizontal swipe deadlock (#456): a sustained-swipe window reopens the horizontal page budget once per resumption - it arms on a >=55ms delivery gap (the only portable lift evidence) and fires when the resumed stream's normalized speed retains 78% of its window-start value across 300ms of continuous >=12px same-direction samples (an inertia tail with tau=1250ms decays to 0.79x by then; real tails sit far below), minting one fresh contact; stall merges never accumulate (their gaps re-arm, their decays fail the floor) and one long continuous drag never fires (no internal gap). Since beta1 a second forward two-finger swipe was swallowed whole - the renewal kept the spent horizontal budget, so every threshold crossing zeroed travel in an endless loop with no page, no native scroll and suppressed input, which is why users learned to swipe BACK a page to unlock forward paging (Chromium feedback #1). The vertical axis keeps its existing semantics; all 96 pre-existing wheel contracts pass unchanged.
  • Stop queue starvation from killing the ink worker (#457): the worker posts a 'processing' receipt ack the moment a request leaves its serial queue and the main thread arms per-type hang guards from that ack instead of from dispatch - previously a 2s dispatch-time guard terminated a HEALTHY worker whenever an apply queued behind a multi-second tile render (drawing a stroke then switching tools froze the UI with "Ink Notes could not restart its background worker" and left the slow main-thread fallback for the whole session); a generous 20s queue-wait guard now only fires when the worker never picks the request up, a failed result postMessage (bad transfer/detached buffer) answers as an error instead of hanging the caller, and WORKER_READY_TIMEOUT rises 2s to 5s so a busy machine restarting the worker does not fail the ready handshake. The old bundle never sends the ack, so the service retains dispatch-timeout fallback for mismatched versions.
  • Make burst paging legible with a destination readout (#458): queued fast-paging steps animate at 120ms instead of 64ms per page (still ~8 pages/s) so a burst reads as fast stepping instead of teleporting, and a transient top-center page HUD ("12 / 64") appears during a wheel burst in both editors reading the queued swipe DESTINATION (the current index lags a draining multi-page queue), hiding when the burst's quiet window collapses the rail.