hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.23k stars 429 forks source link

How to blacklist file Gtk3 FileOpen dialog #2748

Open Massimo-B opened 1 week ago

Massimo-B commented 1 week ago

Describe the bug

How can I blacklist a File Open dialog? Currently using Xfce on Linux. When opening a FileOpen dialog (which should be a Gtk3 dialog by default), and starting to type a path like "/usr/local/bin", every single keystroke gets selected. Selection means adding to PRIMARY. I'm also tracking PRIMARY: Preferences->General->[x] (2) Store text selected using mouse That means the clipboard history in copyq is flooded by all the keystrokes.

How would I blacklist the File Open dialog, similar to https://copyq.readthedocs.io/en/latest/faq.html#how-to-omit-storing-text-copied-from-specific-windows-like-a-password-manager ? How can I match a single dialog? I guess the dialog is running on the process like Firefox and I don't want to blacklist the whole Firefox application from copyq.

Version, OS and Environment

copyq-8.0.0, Gentoo, Xfce, X11

Massimo-B commented 1 week ago

2024-06-19_11-46-33