hex/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 5c2b6b6580
fix windows annotate search: clicks, keys and click-away (#2113) (#2118)
A Rune overlay never takes the keyboard on Windows (its window is a no-activate
tool window, and Rune hands overlays the keyboard on macOS and Wayland only), and
Hex's Windows hooks never handed the finished capture capsule anything either. So
the search field's clicks fell through to the app in front, typing reached
nothing, and once the search opened there was no Escape, click-away or ✕ to
leave it.

- The search field is a native hit region on Windows (`.hit()`), so the window
  stops being click-through over it.
- The mouse hook reports `CapsuleKey::Press` while the capsule's list or
  suggestions are open, so a click away folds them and starts the hold that lets
  the capsule leave. The click is never consumed, and a press on the capsule's own
  boxes is its click.
- The keyboard hook hands the open list or the suggestions the keys
  `capture_host::list_key` names: text, ⌫, ↑↓, ⏎/⇧⏎, ⇥, Escape and Shift, and it
  keeps the caret's own keys (⌦, ←→, Home and End, Page Up and Page Down, Insert)
  from the app while the search is open. The layout is read only where the capsule
  can take text, with `ToUnicodeEx`'s "change no state" flag and a key state
  built from the hook's own Shift and Caps Lock, so a key that goes on to the app
  is never disturbed and a dead key types nothing. Only keys that edit text are
  taken: the lock, media, browser and launch keys, Print Screen, Sleep, Apps and
  function keys pass. Ctrl, Alt and the Windows key make a chord and stay the
  app's, and so do Hex's own shortcuts and Escape over the suggestions, as on the
  Mac.
- Every press the app gets is remembered until its release, wherever the capsule
  stood when it went down, so a key held while the search opens under it keeps its
  autorepeats and release with the app.

Checked by cross-compiling and by the hooks' unit tests; not observed on a real
Windows PC.
2026-11-20 20:24:28 -05:00
..
app_settings vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
application_catalog windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
audio windows, linux: keep a dictation press across a microphone reopen (#2098) 2026-11-20 16:58:08 -05:00
calendar feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
caps_lock_dictation labs: caps lock light waits for audio, optional slow blink (#1535) 2026-11-08 06:41:35 -05:00
capture_host prefer a wsl opencode service when the lab is on (#2112) 2026-11-20 19:14:28 -05:00
control vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
desktop vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
dictation vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
feedback feat(onboarding): the first run is one story, from a bad conversation to your first words (#1501) 2026-11-09 17:29:51 -08:00
history feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
keyboard_input_sources fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
labs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
linux windows, linux: keep a dictation press across a microphone reopen (#2098) 2026-11-20 16:58:08 -05:00
local_api Fix #1947: hex restart waits for the old Hex to exit before relaunching (#1949) 2026-11-17 23:14:08 -05:00
macos_rune feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
meeting windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
microphone_activity windows meetings: loop back only the call app's outputs (#1605) 2026-11-09 16:43:46 -05:00
net Fix #1235: proxy detection and model download (#1238) 2026-11-04 01:31:41 -05:00
parakeet feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
paste feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
personal_commands reload personal config when imported .js files change (#1856) 2026-11-15 10:46:47 -05:00
recognition feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
rune_hud Count a HUD re-home only once a later tick confirms it, with backoff (t1618) (#2019) 2026-11-19 15:10:39 -08:00
rune_ui fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
screenshots make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
suppression feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
transcription stream: a faster live-text geometry from the model's own menus (#2107) 2026-11-20 18:26:14 -05:00
updater Fix #1947: hex restart waits for the old Hex to exit before relaunching (#1949) 2026-11-17 23:14:08 -05:00
windows fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
accessibility.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
app_paths.rs labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
app_settings.rs labs: fold yearly stats into dictation stats (#1976) 2026-11-18 12:22:38 -05:00
apple_intelligence.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
apple_intelligence.swift labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
apple_speech.rs Fold transcription_* into transcription/ 2026-10-31 15:13:56 -07:00
apple_speech.swift
application_catalog.rs
audio.rs stream: a faster live-text geometry from the model's own menus (#2107) 2026-11-20 18:26:14 -05:00
calendar.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
calendar.swift Drain the calendar reads' autorelease pool (#1827) 2026-11-14 11:32:56 -06:00
calendar_menu.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
caps_lock_dictation.rs add pause from menu bar lab (#1654) 2026-11-10 17:51:36 -05:00
capture_host.rs fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
capture_zip.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
code_shape_tests.rs Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
continuation.rs windows: join back-to-back dictations with a space (#1980) 2026-11-18 19:28:07 -05:00
control.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
desktop.rs Cap the logs at 10 MB and clear the old event log once (#1434) 2026-11-12 09:48:21 -06:00
dev_build.rs Labs cards show their own settings; Voice Filter and Playground are dev-only (#1400) 2026-11-05 11:36:37 -08:00
dictation.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
durable.rs history: yearly stats heatmap, time saved and busiest hour (#1971) 2026-11-18 07:08:05 -05:00
feedback.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00
history.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
keyboard.rs fix(macos): type dictation into Windows App instead of pasting (#1878) 2026-11-15 23:43:13 -05:00
labs.rs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
linux.rs annotate: record the screen under the pointer on wayland (labs), list hex annotate without a shortcuts portal (#2094) 2026-11-20 15:58:16 -05:00
local_api.rs Fix #1947: hex restart waits for the old Hex to exit before relaunching (#1949) 2026-11-17 23:14:08 -05:00
macos_rune.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
main.rs windows: join back-to-back dictations with a space (#1980) 2026-11-18 19:28:07 -05:00
meeting.rs windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
meeting_import.swift meetings: import audio files (labs) (#1462) 2026-11-06 15:25:22 -05:00
microphone_activity.rs feat(voice filter): preview effects without changing your call (#1906) 2026-11-16 15:37:31 -08:00
net.rs Managed feature locks for macOS (#985) (#994) 2026-11-02 07:47:47 -05:00
parakeet.rs stream: a faster live-text geometry from the model's own menus (#2107) 2026-11-20 18:26:14 -05:00
paste.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
personal_commands.rs reload personal config when imported .js files change (#1856) 2026-11-15 10:46:47 -05:00
policy.rs annotate: record the screen under the pointer on wayland (labs), list hex annotate without a shortcuts portal (#2094) 2026-11-20 15:58:16 -05:00
recognition.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
rune_hud.rs feat(meetings): widen the listening field across the open header 2026-11-18 17:05:01 -08:00
rune_hud.wgsl feat(meetings): widen the listening field across the open header 2026-11-18 17:05:01 -08:00
rune_ui.rs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
screenshots.rs screenshots: choose the save folder from labs (#1843) 2026-11-14 23:23:59 -05:00
shortcut_pause.rs add pause from menu bar lab (#1654) 2026-11-10 17:51:36 -05:00
suppression.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
transcription.rs stream: a faster live-text geometry from the model's own menus (#2107) 2026-11-20 18:26:14 -05:00
updater.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
windows.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00