hluk / hluk/CopyQ

paste to current window not working on Windows

Open
#2,556 22 comments 0 reactions 0 assignees View on GitHub
bug help wanted Windows
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

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] : [default] QtWarning: QSystemTrayIcon::setVisible: No Icon set
Warning [2023-11-26 22:20:57.981] : [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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.