Comments (6)
First I select with the mouse. It therefore becomes stored in Linux secondary clipboard. Then I hit Ctrl-c to copy it to the main clipboard, and nothing happens. It is not placed in the main clipboard history. I think this is because Linux sees it's already in the second clipboard, so doesn't actually copy it?
Ah, yes, this is correct.
I see it is still problem for example in a terminal app (Kitty):
- Select text in the terminal with mouse (to copy just to the primary buffer)
- CopyQ does not store the selection ("Store test selected using mouse" is disabled)
- ..but copies it to secondary buffer ("Paste mouse selection with keyboard" is enabled)
- In the terminal, press Ctrl+Shift+C to copy the selected text to clipboard (secondary buffer)
- CopyQ notices a change, but does not store the new clipboard content because the monitored formats themselves did not change
I think I can fix this: CopyQ can also check if it "owned" the previous clipboard content but not the new one.
from copyq.
I've also found it inconsistent. I ended up turning it all off, and then back on. Currently I have "Store clipboard" and "Paste mouse selection with keyboard" enabled. And it's been working most of the time. Ctrl-v pasting of the mouse selection is the bomb.
from copyq.
I wish I knew how to fix this issue. I'm in the habit of keying ctrl-c twice due to so many failures from only doing it once. That first time usually gets the selected text into copyQ, but ctrl-v doesn't achieve a paste, unless I copy multiple times.
from copyq.
That's great Lukas. I think you've very succinctly stated the problem.
from copyq.
I'm running version 6.4.0 on Debian 12. What version must I run to enjoy this fix?
I don't understand the intricacies of copying and pasting as well as you guys do (when it comes to the primary and secondary buffers you've mentioned).
I use a remote desktop program called Remmina a lot. Without CopyQ I can typically ctrl-c, copying either locally or remotely, and it ends up in both my local and remote clipboards.
With CopyQ, I will sometimes copy something, and see it in CopyQ as the latest entry, but it won't paste remotely until I go into CopyQ and hit the "Activate Items" icon (which I usually click multiple times for good measure because I think I recall it requiring multiple clicks at times). Or, I'll control+C multiple times locally in order to ensure that my copy is also in the remote machine I'm accessing with Remmina. If I only hit ctrl-c once, it will often not paste remotely.
I'm hoping this fix addresses this scenario also. Perhaps its the same problem, but I'm not qualified to be sure.
Or, maybe the reason behind this is security, and I just need a better understanding about when I need to copy more than once for security sake. Not sure.
from copyq.
I'm running version 6.4.0 on Debian 12. What version must I run to enjoy this fix?
It will be available in the next release.
You can install the development version from here: https://download.opensuse.org/repositories/home:/lukho:/copyq/Debian_12/
from copyq.
Related Issues (20)
- copyq only shows only the reload symbol on start HOT 3
- Main window closes right after opening HOT 2
- Paste in pycharm is unreliable [linux][Focus issue] HOT 2
- v9 and RDP: Remote machine does not see copied items from local machine
- Copyq not working when copying in private browsing (firefox)
- Does not start. HOT 3
- Copyq icon does not show in panel. HOT 1
- wl-copy in wsl no longer displays in clipboard history on copyq version 9.0.0 HOT 4
- Weird flickering of items and menus. HOT 1
- Copyq disappears when I click on it
- Does not work with Wayland (ok switching to X11) HOT 1
- inconsistent search selection
- Command "Ignore *"Password"* window" doesn't work HOT 6
- Manually editing the contents of the Item Content window
- Wish to optimize multi-device data synchronization
- How can I disable text/plain;charset=utf-8 ?
- Add an option to append to the clipboard based on an alt C or other key press HOT 1
- CopyQ v8 and v9 crash often HOT 2
- v8 and v9 are not working on macos 14.5 HOT 6
- CopyQ v9 sometimes fails to copy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copyq.