[Bug]: In-app browser has no context menu and copy/paste is unusable #11874
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/desktop
Steps to reproduce#
- Open the in-app / collaborative browser on any page (preview or a regular site).
- Select text on the page.
- Try to copy or paste with keyboard shortcuts (
Cmd+C/Cmd+V) and via the Edit menu. - Right-click the selection (or an input / link / image) to open a context menu.
Expected behavior#
Copy and paste should work in the guest page (keyboard, Edit menu, and a right-click context menu with Cut / Copy / Paste / Select All, plus the usual browser items).
Actual behavior#
Copy and paste in the in-app browser is unusable. Right-click does nothing — there is no context menu at all, so there is also no menu path to copy or paste.
This is the leftover from #10659. Keyboard editing shortcuts were restored on main by #10621, and the original reporter closed that issue after shortcuts started working, explicitly calling out that right-click / context menu was still missing and out of scope. Julius also said the next place to look if it still failed was webview focus / guest context-menu.
Related: #3738 (clipboard permission, already fixed) is a different failure.
Impact#
Major degradation or frequent failure
Version or commit#
0.0.40 (desktop Alpha, installed 2026-09-08)
Environment#
macOS 26.6.1 (25G76), T3 Code desktop 0.0.40
Workaround#
Use an external browser for any page that needs copy, paste, or a context menu.
juliusmarminge added labelsbug
juliusmarminge added labelsvia-triage
Retested on 0.0.42 stable.
Keyboard copy (
Cmd+C) in the in-app browser works now.Did not re-verify paste or right-click / context menu on this build.
funkeeflow(GitHub profile, opens in a new tab) closed this
Could a maintainer approve a small follow-up to the built-in browser/preview context menu before I open a PR?
The reported macOS screenshot shows Cut / Copy / Paste / Select All / AutoFill when right-clicking a page in the built-in browser/preview. Reload is missing from that menu.
Proposed scope: add Reload to the browser/preview page's right-click menu, targeting that page's
WebContents.reload(). Preserve the existing editing, link, image, and spelling items and native platform behavior. No new keyboard shortcut, Back, or Forward in this proposal.The change would go in the guest
context-menuhandler inapps/desktop/src/window/DesktopWindow.ts, with focused coverage in its existing tests. The menu was introduced in #10670.I'm ready to prepare a small PR if you agree to this direction and scope, following CONTRIBUTING's prior-approval requirement. Is Reload only in the browser/preview context menu approved?
Sign in to join this conversation.
Thanks for splitting this out of #10659 — this is a real desktop in-app browser bug on 0.0.40, and it is not a wash duplicate of that closed issue.
What 0.0.40 is missing
v0.0.40is09e8de9c655a(same commit as the0.0.40-nightly.20260907.1372build from #10659). Two follow-ups landed onmainafter that tag:e0e0bcb). Preview guests hadsetIgnoreMenuShortcuts(true)from #9840, which blocked Chromium’s Edit-menu accelerators. That PR re-enables focused native editing chords (Cmd/Ctrl+C/V/X/A/Z, plus macOS Paste and Match Style) inapps/desktop/src/preview/Manager.ts.b5f7fa0ed). The native menu handler only ran on T3’s host renderer, so guest right-click did nothing. That PR installs the same handler on attached browserWebContentsand sign-in popups inapps/desktop/src/window/DesktopWindow.ts(Cut / Copy / Paste / Select All, Copy Link, Copy Image, spellcheck), and focuses the clicked guest so those roles hit the page.This is not the old clipboard-permission bug (#3738).
The original #10659 reporter confirmed shortcuts after #10621 and explicitly left context menu out of scope. Julius had already pointed at webview focus / guest context-menu as the next look; #10670 is that leftover. First nightly with #10670:
v0.0.41-nightly.20260908.1387. Current 0.0.41 nightlies include both fixes. There is no open PR still targeting this.Please retest
Install a desktop 0.0.41 nightly (anything after
b5f7fa0ed/ #10670) and try copy/paste again in the in-app browser:Cmd+C/Cmd+V)If all three work, we can close this as already fixed on
main. If anything still fails on that newer build, say which path (keyboard / Edit menu / right-click) and we will look at guest focus / thecontext-menuevent next.Note: #10670 does not add “Open Link in New Tab” (that was the extra ask in discussion #8154). Say so if that is still what you want; it is a separate enhancement.