Replies: 1 comment
|
Thanks for the precise report — we verified your diagnosis against the source, and it is correct. apps/desktop/src/main.ts:437-450 is the app's only Menu.setApplicationMenu call. The template On macOS, Electron registers the standard editing accelerators (⌘C/⌘V/⌘X/⌘A) through Fix: add { role: 'editMenu' } to the template (plus viewMenu/windowMenu to restore the other Unverified: this is static source verification; we haven't runtime-tested on a macOS machine here. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
Official Desktop on macOS: standard editing shortcuts do nothing anywhere in the
app. ⌘V cannot paste into the chat composer or the API-key field, and ⌘C/⌘X/⌘A
are equally dead. Affects every text input, so pasting code or credentials is
impossible.
Reproduction
pnpm run dev:desktop, and see Notes re: packaged).Current behavior
Nothing is inserted. No error, no dialog — the shortcut is silently ignored.
The same applies to ⌘C, ⌘X, and ⌘A.
Expected behavior
Standard macOS editing shortcuts work in every text field.
Environment
Notes
Likely cause: the application menu template in
apps/desktop/src/main.ts:437contains only
{ role: 'quit' }. On macOS, Electron dispatches the standardediting accelerators through menu items; without
role: 'editMenu'(or explicitcut/copy/paste/selectAll roles), those accelerators are never registered, so ⌘V
is not delivered to the renderer. This block is unconditional — it is not gated
on
development— so the packaged build is affected as well.Minimal fix: add
{ role: 'editMenu' }to the template (viewMenu/windowMenuwould restore the other standard items).
All reactions