Summary
When using Leo AI (sidebar and/or full-page mode), the system clipboard becomes corrupted or “stuck” after interacting with Leo’s chat input or copy function. Subsequent copy operations (Ctrl+C or right-click Copy) either return stale/old clipboard content, or fail to update the clipboard entirely. The issue is resolved only after a full page refresh of the Leo AI interface.
Environment
- Brave version: 1.92.141 (Official Build) (64-bit)
- Chromium version: 150.0.7871.128
- Confirmed reproducible on:
- Windows 10 (Build 18363.836)
- Ubuntu 22.04 LTS — X11 session
- Ubuntu 22.04 LTS — Wayland session
- Brave is fully up to date on all three environments at time of testing.
Steps to Reproduce
- Open Brave and launch Leo AI (sidebar panel).
- Copy some text from any external application or webpage (clipboard now holds “Content A”).
- Paste “Content A” into Leo’s chat input, and/or copy a response generated by Leo using the Copy button or Ctrl+C.
- Switch to another application (e.g., text editor, email client) and attempt to paste (Ctrl+V).
- Observe that the clipboard either:
- Returns the previous/stale content instead of the most recently copied item, or
- Fails to paste anything new until a refresh is performed.
- Refresh the Leo AI page/tab.
- Clipboard functionality returns to normal immediately after refresh.
Expected Behavior
Copying text to/from Leo AI’s chat interface should not interfere with the system clipboard’s ability to hold and return the most recently copied content, consistent with other AI chat interfaces (e.g., Perplexity, Google AI) which do not exhibit this issue.
Actual Behavior
The system clipboard becomes desynchronized or “frozen” after interacting with Leo AI, returning outdated or no content until the Leo AI page is manually refreshed.
Additional Context
This appears related to existing reports:
- Community thread describing the same issue on Ubuntu 25.10 (GNOME/Wayland): “Leo chat breaks clipboard in ubuntu 25.10” — clipboard breaks after pasting into Leo’s chat input, requires page refresh to restore, does not occur on other chat interfaces.
- GitHub issue #56162: “[AI Chat] Cannot copy out of Brave Leo fails with ‘Document is not focused’ clipboard error” — describes a focus arbitration conflict between concurrent Brave windows (main window + Leo standalone popout) causing clipboard write failures in the chrome-untrusted:// Leo iframe.
Given that this issue reproduces consistently across three distinct environments (Windows 10, Ubuntu X11, Ubuntu Wayland) on the latest stable Brave build, this suggests the root cause lies within Leo’s clipboard handling logic itself (likely within the chrome-untrusted:// iframe implementation) rather than being platform-specific (e.g., Wayland-only clipboard quirks).
Workaround
Manually refreshing the Leo AI page/tab temporarily restores normal clipboard functionality until the issue recurs.