Skip to content

Ignore by format does not work for format name "Clipboard Viewer Ignore" #2282

@nbb1967

Description

@nbb1967

Describe the bug
Ignore by format does not work for format name "Clipboard Viewer Ignore"

To Reproduce
I create a command to ignore the clipboard if a format with a specified name is detected on the clipboard (format-flag with instructions for clipboard managers).

Command: copyq ignore
Format: format name
Type: Automatic.

Expected behavior
If a format with a specified name is found on the clipboard, the clipboard will be ignored.

Real behavior
This works fine with Microsoft formats:
"CanIncludeInClipboardHistory"
"CanUploadToCloudClipboard"
"ExcludeClipboardContentFromMonitorProcessing"
formats description

But it doesn't work with the format from the ClipMate authors:
"Clipboard Viewer Ignore"
format description, test tool

I assumed the cause was spaces in the format name, but this is not confirmed. Ignoring "Rich Text Format" (also contains spaces) - works.

Version, OS

  • Application Version [6.4.0]
  • OS [Windows 10]

Additional context
These formats are used in Windows by some password managers (KeePass, KeePassXC, Sticky Password, 1Password, NordPass...) and some browsers in private mode (Edge, Firefox...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsRelates to Windows OSbughelp wantedNeeds a volunteer to investigate/implement the issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions