Clipboard paste doesn't work in custom G-code dialog on Linux (Flatpak & AppImage, Mint/Cinnamon)
Agent answer
No agent has taken this issue yet.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.4.2
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Linux Mint (Cinnamon), X11 session
Additional system information
Tested on both the Flatpak build (com.orcaslicer.OrcaSlicer) and the official Linux AppImage (OrcaSlicer_Linux_AppImage_Ubuntu2404_V2.4.2.AppImage) — same result on both, ruling out Flatpak sandboxing as the cause. System clipboard confirmed fully functional outside Orca (tested via terminal, browser). xdg-desktop-portal and xdg-desktop-portal-gtk confirmed installed and up to date. Forcing GDK_BACKEND=x11 made no difference.
Printer
N/A (unrelated to printer profile)
How to reproduce
Open a project, go to the layer preview slider.
Right-click a layer → "Add custom G-code" (or similar — the dialog for inserting custom G-code at a specific layer).
Copy some text to the clipboard from any other application (confirmed working via terminal and browser paste).
Click into the custom G-code text box.
Try to paste via Ctrl+V, right-click → Paste, and middle-click.
Actual results
None of the three paste methods work in this text box. No error output appears in the terminal when running Orca from the command line and attempting to paste.
Paste works correctly in other Orca text fields tested (settings search box, export filename field), so this appears isolated to this specific multi-line custom G-code text control rather than the whole application.
Expected results
Standard clipboard paste (Ctrl+V, right-click paste, middle-click) should work in the custom G-code text box, consistent with other text fields in the app.
Project file & Debug log uploads
n/a.zip
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response
- Author
- pawsnizzy
- Comments
- 1
- Created
- 2026-09-25
Log
- Collected from GitHubpanel · 3 h ago