hex/src/desktop
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 60e753a333
annotate: record the screen under the pointer on wayland (labs), list hex annotate without a shortcuts portal (#2094)
* annotate: follow the pointer on Wayland, and list its command without a portal

Labs › Record the screen under the pointer (labs.annotate_pointer_screen,
Linux, off by default) asks the compositor which output the pointer is on
before each screen capture, using one ext-image-copy-capture pointer cursor
session per wl_output (no surface, no frames, two round trips), and keeps a
ScreenCast restore token per output (screencast-token-<output>) so each
monitor is asked once. After Start the token is saved for the output the
desktop actually recorded: mapping_id, else the xdg-output geometry holding
the stream's position, else the pointer's. Off, on X11, or when the lookup
fails, the one file behaves exactly as before.

Without a GlobalShortcuts portal the Annotate pane now shows the
`hex annotate toggle` command to bind instead of a recorder that can never
register, and General's desktop commands list it while Annotate is on.

docs/features/capture.md and labs.md carry the behavior, checks, and gaps.

* annotate: fix the Wayland pointer follow-ups and the macOS sampler

- macOS: the ScreenCaptureKit sampler's Start destructure includes the new
  portal_token field (E0027).
- portal: a mapping_id only names an output the outputs list knows;
  otherwise the stream's own geometry decides.
- pointer_output: release wl_pointer (v3+) and wl_seat (v5+), prefer a
  session that also reported a position when several entered, and say
  plainly that the lookup is a fixed two round trips, not a time bound.
- policy: the Annotate lock now reports for the new lab too.
- Annotate pane: its own singular no-portal note, translated.
- docs: the website leaves out the labs that only matter once Annotate is
  on (build.rs sets hex_capture on every macOS, Linux and Windows build);
  capture.md marks the wlroots software-cursor limit unverified.
- goldens: commands-dark and linux-labs-light re-blessed for the new
  Annotate command row and lab card.
2026-11-20 15:58:16 -05:00
..
i18n 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
opencode_service annotate: use OpenCode in WSL when the lab is on (#1586) 2026-11-09 08:08:57 -05:00
activity.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
background_process.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
events.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
file_dialog.rs screenshots: choose the save folder from labs (#1843) 2026-11-14 23:23:59 -05:00
host.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
i18n.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
instance.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
log_trim.rs Start the event reader over after a trim, and clear the old process.log once (#1722) 2026-11-12 10:39:29 -06:00
login_item.rs fix(onboarding): give the launch-at-login ask the platform's words (#1819) 2026-11-14 00:36:16 -05:00
onboarding.rs Add KB-Whisper Medium for Swedish (#1991) (#1992) 2026-11-19 05:44:56 -05:00
opencode_catalog.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
opencode_service.rs annotate: use OpenCode in WSL when the lab is on (#1586) 2026-11-09 08:08:57 -05:00
permission_guide.rs macOS: close the Screen Recording guide once Hex reads the grant (#2086) 2026-11-20 14:50:03 -05:00
process_exit.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
tray_icon.rs linux: dark tray mark on light panels (#1481) 2026-11-07 05:02:25 -05:00
tray_menu.rs labs: copy a dictation's kept audio as a file (#1860) 2026-11-15 12:08:47 -05:00