-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copyq is delaying and pasting multiple times when I am using Gnome on Ubuntu 20.04. #1729
Comments
Hmm, I cannot view the screencast in the description (it says "file is corrupt"). |
This bug happens to me as well (Ubuntu 20.04) @hluk By the way, this app is awesome 😃 |
It is strange. It seems that some people could see the video. |
Passing the video URL to a media player works:
|
It seems that the app gets completely stuck while it simulates Shift+Insert. Could be a bug in the window manager - maybe something to do with the minimize/hide window animation. You can try increasing wait time before pasting (e.g. 150 milliseconds): copyq config window_wait_after_raised_ms 150 |
filename=$(basename -- "$filename##*.")filename=$(basename -- "$filename##*.")filename=$(basename -- "$filename##*.")filename=$(basename -- "$filename##*.")It still doesn't work. The above text was copied from CopyQ hitting Enter once. Sometimes it's more duplicates, sometimes less. The CopyQ window quickly minimizes and the target window gets frozen, I can't type anything for a couple of seconds |
I discovered an important detail. This error only occurs using Gnome. |
You can also try setting
|
I tried it and doesn't work. |
I'm also having this problem on Ubuntu 20.04 |
I am facing this problem on BSPWM running on Arch Linux as well. It experiences some delay and then pastes 10-15 times |
Recently I'm seeing the same issue with the same setup (bspwm + archlinux) |
I am, and have been, seeing this issue in Linux too. It does not happen all the time (not anywhere near all the time) but I just had CopyQ paste something 20 time when I clicked on the text to paste within CopyQ. NOTE that the last line of the text is supposed to be
and that CopyQ immediately starts over again with the first line
making the line read
I will try the suggested config file modifications. |
Also confirming this issue on Manjaro Linux with Gnome 42.4 (X11). Doesn't happen all the time, and the number of times that the text gets pasted is not fixed (might be 3-4 times - might be like 30 times). |
The simulated key press delay for Shift+Insert could have been too long due to the application processing other events. This could have caused the clipboard to be pasted to a target application multiple times. The fix is to block any processing before key release is sent. Fixes #1729
The simulated key press delay for Shift+Insert could have been too long due to the application processing other events. This could have caused the clipboard to be pasted to a target application multiple times. The fix is to block any processing before key release is sent. Fixes #1729
I have a possible fix. You can install the Flatpak image with the fix using the instructions in the latest flathubbot comment at: flathub/com.github.hluk.copyq#45 Can anyone check if pasting works well with the new Flatpak image? |
The simulated key press delay for Shift+Insert could have been too long due to the application processing other events. This could have caused the clipboard to be pasted to a target application multiple times. The fix is to block any processing before key release is sent. Fixes #1729
I have released the fix in the new 6.3.1 version. |
Unafortely right now, I am unable to test because I am using Linux Mint. So I am not using Gnome. I will try to test it on a machine of a friend. |
I've tested but the delay still happening. |
The simulated key press delay could have been too long. Fixes #1729
Which app version and OS/desktop-environment? Is this happening with the latest Flatpak? If this is a bug in CopyQ, the only place I see could cause this is at I have another possible fix that removes the I cannot reproduce this so I would appreciate if someone can test the Flatpak build here: flathub/com.github.hluk.copyq#50 |
The simulated key press delay could have been too long. Fixes #1729
Had the same issue. And I am sure the initial bug might have been due to an bug in the code which has been since fixed. But I have found that if you don't set a proper limit for how many entries to save then that causes slight delay too. Additionally if you have set any global shortcut for |
Is it possible to disable the "paste on enter" and instead just have enter change the current clipboard selection? This would require the the user to use the normal |
@sirianni Disable "Paste to current window" option in History configuration section in Preferences. |
Thank you! I searched all the preferences and overlooked that section!
…On Thu, Dec 14, 2023 at 1:31 AM Lukas Holecek ***@***.***> wrote:
Is it possible to disable the "paste on enter" and instead just have enter
change the current clipboard selection?
@sirianni <https://github.com/sirianni> Disable "Paste to current window"
option in History configuration section in Preferences.
—
Reply to this email directly, view it on GitHub
<#1729 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5C5UPXKXR3R5PM3EHGA3YJKML7AVCNFSM5B2C4PH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGUZDENRQGEZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Same problem here (Ubuntu 22.04LTS with XFCE 4.18 on gdm3). $ copyq --version
CopyQ Clipboard Manager 6.0.1
Qt: 5.15.2
KNotifications: 5.89.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 22.04.4 LTS I believe I found-out how to fix it (at least that's what worked for me): Disabling the |
Every time I paste something using Copyq on Ubuntu 20.04 with Gnome, the Copyq delays and paste the selected text multiple times.
The gif below shows you how to reproduce the problem:
Screencast.2021-08-09.03.11.42.mp4
The text was updated successfully, but these errors were encountered: