hex/src/rune_ui
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
..
capture_capsule fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
find_popover labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
general feat(settings): find a setting or lab without leaving your pane (#1914) 2026-11-16 16:11:48 -08:00
history feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
labs labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
live_notes Live notes story: hide the notes, copy all, then new, or by chapter (t691) (#488) 2026-10-30 09:53:47 -07:00
meeting_capsules Meetings: name the real notes writer in the finished capsule (#2065) 2026-11-20 12:01:14 -05:00
meetings chore(fixtures): remove personal data from preview fixtures (#1676) 2026-11-10 20:11:38 -08:00
modes labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
onboarding_kit fix(hud): keep the dictation and meeting overlays dark (#1834) 2026-11-16 00:22:48 -08:00
output Fold desktop_* into desktop/ 2026-10-31 15:13:56 -07:00
paste_picker feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
picker add fluid speech pro to the speech model catalog (#2007) 2026-11-19 15:19:06 -05:00
screenshot_thumbnail screenshots: choose the save folder from labs (#1843) 2026-11-14 23:23:59 -05:00
settings labs: second dictation shortcut on linux and windows (#1651) 2026-11-10 14:40:02 -05:00
sound_sets fix(hud): keep the dictation and meeting overlays dark (#1834) 2026-11-16 00:22:48 -08:00
tests vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
accessibility_tests.rs history: chart the dictation stats dialog (#1962) 2026-11-18 03:38:56 -05:00
activity.rs fix: label an unset OpenCode rewrite model as automatic and log the model that answered (#1961) 2026-11-18 02:40:37 -05:00
captures.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
controls.rs history: chart the dictation stats dialog (#1962) 2026-11-18 03:38:56 -05:00
deep_link.rs labs: bring the Modes editor back behind a lab (#1963) 2026-11-18 02:40:22 -05:00
dmg_keycap.rs Rune c4ee5620; HUD uniforms travel as immediates (#425) 2026-10-29 20:47:21 -07:00
drop_transcribe.rs labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
explainer.rs Accessibility: name Hex's panes and controls; interaction benches through UI Automation (#1220) 2026-11-04 05:30:06 -06:00
find_popover.rs labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
found.rs Speech model picker: compare three models, then every model (t1216) 2026-11-01 13:38:51 -08:00
found_choice.rs onboarding: skip only the demo and practice; continue without a model after a failed or stalled download (#1009) 2026-11-02 08:52:22 -05:00
fun.rs feat(voice filter): preview effects without changing your call (#1906) 2026-11-16 15:37:31 -08:00
general.rs show why speech engine fell back to the cpu after a gpu out-of-memory failure (#1984) (#1985) 2026-11-19 01:01:37 -05:00
history.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
hotkey_keys.rs take the mic key at the session tap so it records and fires (#1870) 2026-11-15 19:26:38 -05:00
hud_lab.rs Scroll bars and keyboard paging for panes and dropdowns (#1209) (#1213) 2026-11-03 17:56:52 -05:00
hud_stories.rs show why a dictation failed (#1494) 2026-11-07 12:33:50 -05:00
icons.rs fix(sidebar): use a plain book for What’s new (t1605) (#1912) 2026-11-16 15:18:08 -08:00
keyboard_model_tests.rs sort language menus alphabetically (#1937) 2026-11-17 11:31:28 -05:00
labs.rs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
linux_host.rs fix(settings): preserve other writers' changes when saving (#1747) 2026-11-12 12:57:21 -08:00
list_detail.rs feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821) 2026-11-16 00:51:48 -08:00
lists.rs feat(settings): find a setting or lab without leaving your pane (#1914) 2026-11-16 16:11:48 -08:00
live_notes.rs Labs: one switch for every unfinished feature (#527) 2026-10-30 20:23:48 -04:00
live_text.rs show why a dictation failed (#1494) 2026-11-07 12:33:50 -05:00
macos_host.rs macOS: close the Screen Recording guide once Hex reads the grant (#2086) 2026-11-20 14:50:03 -05:00
meeting_capsules.rs Meetings: name the real notes writer in the finished capsule (#2065) 2026-11-20 12:01:14 -05:00
meetings.rs Meetings: name the real notes writer in the finished capsule (#2065) 2026-11-20 12:01:14 -05:00
meetings_host.rs fix(captures): keep delayed replies with their original request (#1759) 2026-11-12 17:43:27 -08:00
model_details.rs add fluid speech pro to the speech model catalog (#2007) 2026-11-19 15:19:06 -05:00
model_import.rs Labs: smaller model files (K-quant imports, macOS) (#1786) 2026-11-13 10:11:35 -05:00
models.rs fix: label an unset OpenCode rewrite model as automatic and log the model that answered (#1961) 2026-11-18 02:40:37 -05:00
modes.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
notes_writer.rs Meetings: name the real notes writer in the finished capsule (#2065) 2026-11-20 12:01:14 -05:00
offscreen.rs feat(screenshots): a click on the card opens a floating editor with pen, arrow, box, text, crop, Copy, Save and Send to… (t1344) 2026-11-04 23:29:34 -08:00
onboarding.rs fix(onboarding): record the tour finished only when it finishes (t1538) (#1741) 2026-11-12 11:53:55 -08:00
onboarding_kit.rs 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
output.rs fix(output): put Try inside Every dictation and show its result as text (#1553) 2026-11-12 19:38:10 -08:00
paste_access.rs General: one Shortcut mode choice with a modal (t1218) (#919) 2026-11-01 15:50:06 -08:00
paste_picker.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
picker.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
platform.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
platform_settings.rs meetings: add select all calendars lab (#1973) 2026-11-18 09:57:54 -05:00
playground.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
practice.rs windows: don't paste into the desktop or taskbar, keep the dictation on the clipboard (#2016) 2026-11-19 19:10:26 -05:00
scenes.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
scrawl.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
screenshot_thumbnail.rs feat(captures): list annotations and replays in the Captures pane (#1673) 2026-11-12 19:29:33 -08:00
settings.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
settings_microphone_key_tests.rs take the mic key at the session tap so it records and fires (#1870) 2026-11-15 19:26:38 -05:00
shortcut_mode.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
shortcut_rule.rs labs: second dictation shortcut on linux and windows (#1651) 2026-11-10 14:40:02 -05:00
sidebar.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
sidebar_update.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
snap_isolation.rs fix(app): headless renders never touch the data folder (#760) 2026-10-31 22:21:05 -07:00
sound_sets.rs feat(voice filter): preview effects without changing your call (#1906) 2026-11-16 15:37:31 -08:00
spark.rs Output agent card: letters pop in a wave, prompts as examples, smooth spark (#664) 2026-10-31 14:18:27 -07:00
speech_model.rs sort language menus alphabetically (#1937) 2026-11-17 11:31:28 -05:00
speech_model_tests.rs sort language menus alphabetically (#1937) 2026-11-17 11:31:28 -05:00
story_link.rs Labs deep links: hex://labs/<feature> (#693) 2026-10-31 15:10:38 -07:00
tests.rs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
vocabulary.rs vocabulary: import and export csv files (labs) (#2117) 2026-11-20 19:37:20 -05:00
whats_new.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
windows_host.rs fix(settings): preserve other writers' changes when saving (#1747) 2026-11-12 12:57:21 -08:00