hluk/CopyQ

paste to current window not working on Windows

Open

#2,556 opened on 2023年11月26日

GitHub で見る
 (21 comments) (0 reactions) (0 assignees)C++ (419 forks)batch import
Windowsbughelp wanted

Repository metrics

Stars
 (7,372 stars)
PR merge metrics
 (平均マージ 17h 35m) (30d で 13 merged PRs)

説明

I'm on Windows 11, and "paste to current window" almost never works, not from the main window nor from the tray. why almost never? it very very rarely pastes from main window, but never from tray (it would paste from main window 2-3 times, then would not work again, tried many times). also, it seems there's a focus obtaining issue, since the last window is not focused (you can tell by the titlebar color)

To Reproduce set in preferences both options for paste (from history (main window) or from tray). either double click an item on the main window, or select an item from the tray.

Expected behavior copyq should paste to the "current" (last) window

Version, OS and Environment

  • CopyQ version 7.1.0
  • Windows 11 22H2 22621.1848

Additional context I saw https://github.com/hluk/CopyQ/issues/1395 and tried:

  1. viewing the copyq log, there's nothing that stands out. sometimes this shows in the log:
    Warning [2023-11-26 22:20:50.965] <Server-24612>: [default] QtWarning: QSystemTrayIcon::setVisible: No Icon set
    Warning [2023-11-26 22:20:57.981] <Server-24612>: [qt.qpa.fonts] QtWarning: Unable to enumerate family ' "Font Awesome 6 Free 
    Solid (CopyQ)" '
    
  2. running ClipboardOwnerDebug_1001 - no visible errors
  3. shift+insert in the last window works

any help or debugging tips would be very much appreciated.

コントリビューターガイド