hluk / hluk/CopyQ

When disabling clipboard storing then copying an element then enabling again and copy the same again, the content is not added to CopyQ for Windows

Open
#1,226 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

This bug happens using the _Disable Clipboard Storing_ option (with and without keyboard shortcuts) then selecting something trying to copy it (I've tested this with text, images and files) only to find out that I've forgotten I had disabled clipboard storing before. So I enable it again to be able to copy the item I need. Because I want to copy the very same element I tried to copy before I enabled the clipboard storing again, I select the same item (text, image, file). When I copy it, it doesn't appear in CopyQ...

Even if I deselect the element and select it again, change windows, etc. as long as I copy the same element again, it won´t appear in CopyQ. Only when I copy something else (forcing me to copy something I don´t want to) and it gets added to CopyQ, only then I can copy the original element I intended to copy in the first place.

**To Reproduce**
Steps to reproduce the behavior:
1. Select _Disable Clipboard Storing_ (menu option or keyboard shortcut).
2. Copy a given element (text, image, file). The element is not added to CopyQ as expected.
3. Select _Enable Clipboard Storing_ (menu option or keyboard shortcut).
4. Copy the same element. The element doesn't get added to CopyQ. _Incorrect behavior_.
5. Copy any other element (i.e. same text string without a character, another image, etc.). It is added to CopyQ.
6. Copy the originally intended item to be copied. It now gets added to CopyQ.

**Expected behavior**
When copying the given element that was attempted to be copied when the clipboard storing was disabled, it should be copied when clipboard storing is enabled again without being forced to copy something else first.

**Screenshots**
Not needed.

**Version, OS and Environment**
- CopyQ v3.9.2
- Windows 10 Version1903 (Compilation SO 18362.356)

**Additional context**
I haven't tested this behavior in any other OS. I don't know if it is also applicable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.