After upgrade to version 12 start failing copy command on Linux: ScriptError: Failed to copy to clipboard!
- Dominant language
- C++
- Stars
- 12.3k
- Forks
- 593
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
After one of latest update copyq, start fails copy with "exit code 4".
**Describe the bug**
I've made script based on example https://copyq.readthedocs.io/en/latest/command-examples.html#replace-all-occurrences-in-selected-text, that works fine more than year.
But recently start fails like:
```
Note: Exception in command "Keyboard layout change (xneur like)": ScriptError: Failed to copy to clipboard!
Note:
Note: --- backtrace ---
Note: f@:1
Note: copy2@eval code:15
Note: %entry@eval code:24
Note: f@:1
Note: eval:// Copy without changing...
Note: eval
Note: --- end backtrace ---
```
**To Reproduce**
1. Import example command https://copyq.readthedocs.io/en/latest/command-examples.html#replace-all-occurrences-in-selected-text
2. In editor select any text
3. Call command (by action or previously assigned shortcut)
**Expected behavior**
Text copied
**Screenshots**
**Version, OS and Environment**
```
$ copyq version
CopyQ Clipboard Manager 12.0.1
Qt: 6.9.2
KNotifications: 6.18.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Fedora Linux 42 (KDE Plasma Desktop Edition)
```
- Installation method: Official fedora repos rpm
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.