Skip to content

Add right-click copying for transcript and composer selections - #46895

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/322b303394378a20b2a25b3d218777c9ea65c92b
Sep 20, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/322b303394378a20b2a25b3d218777c9ea65c92b

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Add right-click copying for transcript and composer selections

What changed

Allow right-clicking inside the transcript or composer to copy its selected text using the existing clipboard status messages. Clear the selection only when the right-click copy is confirmed; retain it after failed or unconfirmed copies. Keyboard copies continue to retain composer selections.

Preserve the draft, cursor, and transcript reading position. Refresh composer layout before checking mouse coordinates, and respect modal and transcript input ownership.

Testing

Add regression tests and snapshots covering copy outcomes, selection retention, reading position, editor bounds after layout changes, and input ownership.

## What changed

Allow right-clicking inside the transcript or composer to copy its selected text using the existing clipboard status messages. Clear the selection only when the right-click copy is confirmed; retain it after failed or unconfirmed copies. Keyboard copies continue to retain composer selections.

Preserve the draft, cursor, and transcript reading position. Refresh composer layout before checking mouse coordinates, and respect modal and transcript input ownership.

## Testing

Add regression tests and snapshots covering copy outcomes, selection retention, reading position, editor bounds after layout changes, and input ownership.

GitOrigin-RevId: 322b303394378a20b2a25b3d218777c9ea65c92b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/322b303394378a20b2a25b3d218777c9ea65c92b branch from cbfbc55 to 2db0ab7 Compare September 20, 2026 22:12
@copyberry
copyberry Bot merged commit 2db0ab7 into main Sep 20, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/322b303394378a20b2a25b3d218777c9ea65c92b branch September 20, 2026 22:12
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 20, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 2db0ab7a Deployed Sep 20, 2026 by Andrehlb via Identify potential duplicates (all issues) #47029
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants