hluk / CopyQ

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

Command/script "Ignore *"Password"* window" stop working on v8.0.0 (but also other commands) #2664

Closed elbowz closed 5 months ago

elbowz commented 5 months ago

Describe the bug The command/script "Ignore "Password" window" on version 8.0.0 stop working

To Reproduce Steps to reproduce the behavior:

  1. Enable the command by F6 shortcut
  2. Set the correct window title
  3. Copy something on the password manger (eg. KeeWeb)

Expected behavior The copied field shouldn't appear in CopyQ

Version, OS and Environment

% copyq version
CopyQ Clipboard Manager 8.0.0
Qt: 5.15.10
KNotifications: 5.110.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-arch2-1 (64-bit)

Additional context I have downgrade to CopyQ 7.1.0 and all works like a charm.

I think the problem is spread to others commands/scripts, because they also stop working (eg. Store Window Title, Display Window name, Blocklisted Texts)

Thanks

hluk commented 5 months ago

Is there any error/warning in logs?

elbowz commented 5 months ago

Sorry, I have completely missed the log, my bad: https://pastebin.com/rZTH2mV7 (following the FAQ about logging)

I have found this line inside: [qt.qpa.wayland] QtWarning: Wayland does not support QWindow::requestActivate()

So I have tried to disable the Command Wayland Support, and the now all it works like a charm :)

if you're wondering, I'm on wayland.

Thanks...by my side, the issue can be closed

edit: maybe a link to the FAQ section about logging, could be included in the issue template

hluk commented 5 months ago

On Wayland getting window titles won't work - the command uses a workaround for Sway and Hyprland.

More info is here: https://copyq.readthedocs.io/en/latest/known-issues.html#known-issue-wayland

elbowz commented 5 months ago

Mhhh...I have kde and hyprland. Anyway, I think a command (taken from the official repo) shouldn't break other ones.

I don't know anything about getting window title on Wayland...only installed the command for a better compatibility.

Thanks!