CopyQ
CopyQ copied to clipboard
Copyq pasting multiple times (both with mouse double-click and keyboard "Enter")
Before creating a new issue, see list of known issues.
I'm seeing the clipboard item being pasted multiple times when selected from the copyq clipboard and pasted - using either the keyboard "Enter" or by double-clicking the entry with the mouse button.
To Reproduce
- Use the global keyboard shortcut to open the main copyq window.
- Select the entry to be copied using the keyboard down/up arrows.
- Double-click the left mouse button or press "Enter" to paste.
- Notice multiple copies of the item being pasted.
Expected behavior Only a single copy should be pasted. Sometimes, only the first entry in the clipboard list pastes a single copy as expected. All other entries multiple copies are pasted.
Screenshots Attached a video showing the behavior.
Version, OS and Environment
(Get details from copyq version
command if possible.)
- Application Version copyq-6.2.0-1.fc35
- OS [e.g. Windows] Linux (Fedora 35)
- Desktop environment, window manager (if applicable) KDE with X11 Plasma
https://user-images.githubusercontent.com/886810/184478932-3fffbbbd-92f9-4e7b-9844-cc9a5d46472a.mp4
Same here (kubuntu) but not easily repeatable, but happens multiple times a day.
CopyQ Clipboard Manager 6.2.0 Qt: 5.15.3 KNotifications: 5.92.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: Ubuntu 22.04.1 LTS
I'm having this problem too, happens all the time. I'm using Ubuntu 20.04 and the app is on version 6.2.0
Same here, running QTile WM under up-to-date Arch Linux with app v. 6.2.0. Doesn't happen every time but happens often.
I'm having this issue, but only with the Discord desktop version.
CopyQ Clipboard Manager 6.2.0
Qt: 5.15.2
KNotifications: 5.78.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 22.04.1 LTS
To paste the content, CopyQ sends Shift+Insert key press event and after a short interval key release event. It looks like CopyQ (and other apps?) get stuck for a second just before the release event is sent causing the paste action to be triggered multiple times (while the simulated Shift+Insert is held). Perhaps there is some problem accessing the clipboard.
Is there anything in the logs after the pasting? You can open logs from the main window with F12 key, or list them from the command line with copyq logs
.
I tried to reproduce it with discord to check the logs, but seems I cannot reproduce anymore. It has been updated since I posted, though, maybe they fixed whatever it was on their side. EDIT: Nevermind, it happens, but only whenever it pleases. There are no logs or anything unusual.
The behavior has stopped for me. Not sure exactly when, as I was on a weeks vacation out of town and away from my computers all last week. It was happening on two different computers, and stopped on both.
Still seeing the behavior (periodically) but there does not seem to be any log entries.
Does anything change if you disable "Focus last window" in History tab in Preferences dialog?
@hluk The issue still happens after disabling "Focus last window".
Oh great someone made an issue about this
Seems to happen more when system is loaded down. I dropped back to v5, still happens but seems to happen less.
This is probably duplicate of #1729. Can anyone test the new flatpak mentioned in this comment?