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

X11: Fix pasting multiple times #2098

Merged
merged 1 commit into from
Sep 24, 2022
Merged

X11: Fix pasting multiple times #2098

merged 1 commit into from
Sep 24, 2022

Conversation

hluk
Copy link
Owner

@hluk hluk commented Sep 23, 2022

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

hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 23, 2022
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 23, 2022
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 23, 2022
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
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 23, 2022
@hluk hluk merged commit f85d5a4 into master Sep 24, 2022
@hluk hluk deleted the fix-x11-paste-delay branch September 24, 2022 06:34
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 24, 2022
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 24, 2022
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 24, 2022
hluk added a commit to hluk/com.github.hluk.copyq that referenced this pull request Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copyq is delaying and pasting multiple times when I am using Gnome on Ubuntu 20.04.
1 participant