Skip to content

feat(tray): record a region, and stop the recording, from the tray menu - #15

Merged
CubityFirst merged 1 commit into
mainfrom
feat/tray-record
Nov 5, 2026
Merged

CubityFirst merged 1 commit into
mainfrom
feat/tray-record

Conversation

@CubityFirst

Copy link
Copy Markdown
Owner

Recording a region needed the record hotkey or the main window. The tray menu now has a Record region item under Capture region. While a recording runs, the item reads Stop recording and stops it. It goes through the same toggle as the record hotkey, so it also stops a recording that snapr --record started. On Windows the item is the bold default when left-clicking the icon is set to record.

Idle Recording
tray menu, idle tray menu, recording

Proof: on a Windows release build, Record region → drag a region → the menu read Stop recording → Stop wrote the mp4 → the menu read Record region again. With tray_click = "record" the item is bold. Clippy is clean, 188 tests pass, and Linux passes cargo check in WSL. macOS wasn't compiled here (no Apple SDK); its item mirrors the Capture item.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

Created with Claude Opus 5.5 in Claude Code.

@CubityFirst
CubityFirst merged commit 8968b86 into main Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant