Skip to content
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 pasting multiple times (both with mouse double-click and keyboard "Enter") #2057

Closed
venkatcc opened this issue Aug 13, 2022 · 13 comments
Closed
Labels

Comments

@venkatcc
Copy link

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

  1. Use the global keyboard shortcut to open the main copyq window.
  2. Select the entry to be copied using the keyboard down/up arrows.
  3. Double-click the left mouse button or press "Enter" to paste.
  4. 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
vokoscreenNG-2022-08-13_15-15-01.mp4
@venkatcc venkatcc added the bug label Aug 13, 2022
@richtrefz
Copy link

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

@brGuirra
Copy link

brGuirra commented Aug 18, 2022

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

@BTrey
Copy link

BTrey commented Aug 19, 2022

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.

@magpie514
Copy link

magpie514 commented Aug 27, 2022

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

@hluk
Copy link
Owner

hluk commented Sep 4, 2022

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.

@magpie514
Copy link

magpie514 commented Sep 5, 2022

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.

@BTrey
Copy link

BTrey commented Sep 7, 2022

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.

@richtrefz
Copy link

Still seeing the behavior (periodically) but there does not seem to be any log entries.

@hluk
Copy link
Owner

hluk commented Sep 11, 2022

Does anything change if you disable "Focus last window" in History tab in Preferences dialog?

@venkatcc
Copy link
Author

@hluk The issue still happens after disabling "Focus last window".

@MrPancakes39
Copy link

Oh great someone made an issue about this

@richtrefz
Copy link

Seems to happen more when system is loaded down. I dropped back to v5, still happens but seems to happen less.

@hluk
Copy link
Owner

hluk commented Oct 7, 2022

This is probably duplicate of #1729. Can anyone test the new flatpak mentioned in this comment?

@hluk hluk closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants