Closed FreeHarry closed 2 months ago
Sounds like a good idea. I'm adding all the formats you mention.
Here is a development build with the fix: https://ci.appveyor.com/project/hluk/copyq/builds/49644665/artifacts
Thanks. I tested your dev-build and it works as expected on Windows 10. Cool!
There is a new mechanism since V8.0, that avoids accessing the clipboard from password managers, which is cool. But on Windows, it prevents access only if the format is
Clipboard Viewer Ignore
.Please can you support other formats as well for the decision?
E.g. KeePassXC currently adds the format
ExcludeClipboardContentFromMonitorProcessing
. (See here https://github.com/keepassxreboot/keepassxc/blob/develop/src/gui/Clipboard.cpp#L65)And there is also
CanIncludeInClipboardHistory
andCanUploadToCloudClipboard
, which could be set on Windows. KeePass use them. Maybe also these can be used for the decisions, if the clipboard should accessed or not, by CopyQ. (See here https://github.com/77/keepass2/blob/49373d56801495919f19b2cd1cfdeb741135c479/KeePass/Util/ClipboardUtil.Windows.cs#L43-L48)