CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

CopyQ does not paste content automatically

Open dieg467 opened this issue 8 months ago • 17 comments

Hi, I'm running Windows 11. When I double-click content (text or image) stored in CopyQ, it's not automatically pasted into the app that was active before opening CopyQ. So, I have to use CTRL+V. Is it possible that CopyQ isn't returning focus to other apps after copying content from it? Thanks.

dieg467 avatar Mar 29 '25 10:03 dieg467

I updated to version 9.1.0 and now CopyQ won't start when I log in to Windows 11, even though the shortcut is installed in the C:\Users...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup folder. I have to start CopyQ manually, and User Account Control asks me: Do you want this application from an unknown publisher to make changes to your computer? I set CopyQ as an administrator, but when I log in to Windows 11, CopyQ won't start. I performed an initialization, but nothing changed. The automatic pasting issue wasn't resolved.

dieg467 avatar Mar 31 '25 11:03 dieg467

Another issue arose. When pasting transparent .png images, the transparent background turns black.

dieg467 avatar Apr 05 '25 14:04 dieg467

I quit CopyQ and installed other Clipboard apps, and I can confirm that automatic pasting doesn't work in any of them. It seems to be a problem with Windows 11 or my PC. Auto-paste only works with the native Windows 11 Clipboard app, which you open with the Windows+V keys. The problems started a few weeks ago, while I was working with CopyQ version 7, which had been working fine up until then. I updated to version 9, and the issues weren't resolved.

dieg467 avatar Apr 05 '25 14:04 dieg467

Paste also does not work as expected on Mac OS. Tried reinstall. Reset+Apply of settings does not change the situation.

10.0.0-gf25a022e-v10.0.0

bazziebaz avatar Apr 10 '25 07:04 bazziebaz

I installed CopyQ version 10 (as administrator) on Windows 11, and these are the issues: (1) CopyQ doesn't automatically paste (issue present in v7, v9, v10). (2) CopyQ doesn't start when I log in to Windows, despite being configured to do so. The CopyQ shortcut is present in the Windows Startup folder (issue present in v7, v9, v10). (3) .png files with transparent backgrounds are pasted with a black background (issue present in v9, v10).

  • Issue (1) doesn't yet have a fix for any version.
  • Issue (2) I fixed by creating a task in Windows 11 Task Scheduler.
  • Issue (3) I fixed by downgrading to v7.

dieg467 avatar May 02 '25 23:05 dieg467

I configured the "Insert" key to open the CopyQ window.

  1. I click on the WhatsApp Web window to make it the active window -> press the "Insert" key to open CopyQ -> double-click on some text in the CopyQ window -> The text is automatically pasted into WhatsApp Web (this is the expected behavior).
  2. I click on the WhatsApp Web window to make it the active window -> click on the CopyQ icon in the taskbar tray -> double-click on some text in the CopyQ window -> The text is not automatically pasted into WhatsApp Web (this is where the problem lies). I don't know if it's a Windows 11 taskbar issue, a CopyQ issue, or a mouse issue that takes focus away from WhatsApp Web.

dieg467 avatar May 24 '25 22:05 dieg467

Hello, @dieg467!

CopyQ doesn't automatically paste.

It is a general issue for Windows (ex. #2556 ) and I have also experienced the problem from time to time. Unfortunately, I don't know how to fix it. There is an FAQ page with information about this, which might help.

Let's discuss other issues:

.png files with transparent backgrounds are pasted with a black background (issue present in v9, v10). I cannot reproduce this with either a file or an image: Image

When I paste an image from the clipboard, the background of the image is still transparent.

Tell me more about how you copy: give an example of a file or image where the issue occurs, and whether the issue is present in all apps or just some

Try both: copying a file of a picture and an image from a graphical editor. Tell me about your observations.

CopyQ doesn't start when I log in to Windows, despite being configured to do so.

Please, send the following screenshots:

  • open Windows Task Manager (Ctrl + Shift + Esc) → Startup tab. I have a line with the app and its "State" is on
  • content of the Startup folder. I have a shortcut for CopyQ in the one, not the actual .exe

Also:

  1. Are there any antivirus, that could prevent the app from auto-load?
  2. Where did you install the app? In C:\Program Files or another directory?

VovaOneReal avatar Jul 05 '25 15:07 VovaOneReal

Hola, !

CopyQ no se pega automáticamente.

Es un problema general para Windows (por ejemplo, # 2556) y también he experimentado el problema de vez en cuando. Desafortunadamente, no sé cómo solucionarlo. Hay una página de preguntas frecuentes con información sobre esto, que podría ayudar.

Analicemos otros temas:

.png archivos con fondos transparentes se pegan con un fondo negro (problema presente en v9, v10). No puedo reproducir esto ni con un archivo ni con una imagen:

Image Cuando pego una imagen del portapapeles, el fondo de la imagen sigue siendo transparente.

Cuéntame más sobre cómo copias: da un ejemplo de un archivo o imagen en el que se produzca el problema y si el problema está presente en todas las aplicaciones o solo en algunas

Pruebe ambas cosas: copiar un archivo de una imagen y una imagen de un editor gráfico. Hábleme de sus observaciones.

CopyQ no se inicia cuando inicio sesión en Windows, a pesar de estar configurado para hacerlo.

Por favor, envíe las siguientes capturas de pantalla:

  • abra el Administrador de tareas de Windows () → pestaña Inicio. Tengo una línea con la aplicación y su "Estado" está activadoCtrl + Shift + Esc
  • contenido de la carpeta de inicio. Tengo un atajo para CopyQ en uno, no en el real .exe

Además:

  1. ¿Hay algún antivirus que pueda evitar que la aplicación se cargue automáticamente?
  2. ¿Dónde instalaste la aplicación? ¿En u otro directorio?C:\Program Files

Hi VovaOneReal, here are my answers to your questions:

  1. Automatic pasting only works by creating a shortcut key. I'm using the "Insert" key to open CopyQ, double-click the chosen content, and it's automatically pasted into the desired application.

  2. The transparent background turning black when copying a .png file isn't an issue exclusive to CopyQ v9 and v10. The same problem occurs when using the default Windows Clipboard. However, when pasting, the results may vary depending on the destination: (a) If I paste the image into WhatsApp desktop, the background appears black. (b) If I paste into WhatsApp web, the background appears white (this is the behavior I expect, so the image content is visible). To avoid this issue, I use CopyQ v7 and WhatsApp web. Here are the steps I follow: [1] I use a dual-layer file in Paint.NET. The front layer is transparent, and the back layer is a grid sheet of paper. I write or draw on the transparent layer. [2] I copy the image, and it is stored in the installed clipboards, CopyQ v7 (CQ7) and the default Windows Clipboard (WC). In CQ7, the image appears with a white background, while in WC, it appears with a black background. [3] (a) If I paste into WhatsApp Web, both CQ7 and WC paste the image with a white background. (b) If I paste into WhatsApp Desktop, both CQ7 and WC paste the image with a black background.

Image
  1. The following screenshots show CopyQ in Task Manager, as well as the shortcut in the Startup folder.
Image Image
  1. The only antivirus I have installed is the default one for Windows 11. I added an exclusion to the antivirus so that the CopyQ folder would not be affected. However, there were no changes to how CopyQ works. The only way I found to get it to start when I log in to Windows 11 was to create a task in Task Scheduler.

  2. CopyQ is installed in "C:\Program Files (x86)\CopyQ"

dieg467 avatar Jul 06 '25 13:07 dieg467

Thanks for the screenshots you sent.

2. The transparent background turning black when copying a .png file isn't an issue exclusive to CopyQ v9 and v10.

This issue is related to the specific apps where you are pasting the images. For example, Telegram and WhatsApp convert transparent images to a format that does not support transparency, such as JPEG. If you can paste the same image with saved transparency into other apps, then this is not a problem with CopyQ.

The background color of a copied image may vary depending on the clipboard manager. I have also seen a black background in the Microsoft Clipboard, but CopyQ does not have a background color set. However, this does not affect the final transparency after pasting - if an app converts it to JPEG, then the original transparency is lost.

To completely preserve transparency, it is recommended to send the image as a file rather than as an image in messengers.

CopyQ doesn't start when I log in to Windows, despite being configured to do so. The CopyQ shortcut is present in the Windows Startup folder (issue present in v7, v9, v10).

It does not seem to be a problem with CopyQ, but rather a permissions issue on your PC. This is especially likely if the problem occurs in every version of CopyQ and other applications as well.

To resolve this issue, I can recommend the following steps:

  1. Open the Startup folder.
  2. Right-click on the CopyQ shortcut and select Properties.
  3. Select the "Shortcut" tab and click "Advanced".
  4. Check the box next to "Run as administrator".
  5. Apply the changes.

Also, check the "Run as administrator" box for the .exe file located in the Program Files directory.

If the issue persists, try searching for a solution on the internet.


If you have no further questions, please close this issue.

VovaOneReal avatar Jul 06 '25 20:07 VovaOneReal

My experiences with the problem dieg467 reported:

I started with CopyQ 9.1 (now 12.0.1) on Win 10 this year. The behavior was always the same: when I reopen minimized CopyQ from the taskbar and double-click an element, it's pasted automatically. But when CopyQ is minimized to the systray (at the right), pasting does not work, I have to do it manually. On Linux Mint pasting always works fine.

Markus

MarGeb1 avatar Oct 07 '25 04:10 MarGeb1

But when CopyQ is minimized to the systray (at the right), pasting does not work, I have to do it manually.

Could it be that some minimizing animation is involved, and it causes the target window (for the paste) to be activated/focused too late?

To clarify, this is how activating items (double-click or Enter) in CopyQ works by default:

  1. The selected item is copied to the system clipboard.
  2. The main window is closed/minimized/hidden (if "Close main window" option is enabled in History config tab).
  3. The target window is raised (this is the previous window that had focus before CopyQ was activated).
  4. If the expected target window does not get the focus (after a short interval), the next step is not executed.
  5. Shift+Insert shortcut is sent to the target window to paste the current clipboard (to change this to Ctrl+V, see #633).

You can enable debug logs to see details about the pasting operation. See FAQ: How to enable logging?

hluk avatar Oct 07 '25 10:10 hluk

Hi Lukas, thanks for your reply.

I tried to start CopyQ in Debug-Mode as described in the FAQ, but it closes again after some seconds. Here is the log:

CopyQ DEBUG [2025-10-07 19:19:10.504] <Client-11508>: Waiting for server to start
CopyQ DEBUG [2025-10-07 19:19:10.600] <Server-148>: Geometry: Window "MainWindow": Restore geometry "Options/MainWindow_geometry": 645x421,0,0 -> 423x877,1256,112
CopyQ DEBUG [2025-10-07 19:19:10.933] <Server-148>: Focus window is "Windows PowerShell ISE"
CopyQ DEBUG [2025-10-07 19:19:11.286] <Server-148>: Loading configuration
CopyQ DEBUG [2025-10-07 19:19:11.768] <Server-148>: Tab "Zwis&chenablage": Loading items from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
CopyQ DEBUG [2025-10-07 19:19:11.930] <Server-148>: Tab "Zwis&chenablage": 200 items loaded from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
CopyQ DEBUG [2025-10-07 19:19:12.101] <Server-148>: Tab "Zwis&chenablage": Unloading
CopyQ Warning [2025-10-07 19:19:12.279] <Server-148>: [default] QtWarning: QSystemTrayIcon::setVisible: No Icon set
CopyQ DEBUG [2025-10-07 19:19:12.751] <Server-148>: Executing: copyq eval -- collectScriptOverrides()
CopyQ DEBUG [2025-10-07 19:19:13.222] <Server-148>: Configuration loaded
CopyQ DEBUG [2025-10-07 19:19:13.382] <Server-148>: Starting monitor
CopyQ DEBUG [2025-10-07 19:19:13.579] <Server-148>: Executing: copyq --clipboard-access monitorClipboard
CopyQ DEBUG [2025-10-07 19:19:13.797] <Server-148>: Starting callback: onStart
CopyQ DEBUG [2025-10-07 19:19:14.020] <Server-148>: Executing: copyq onStart
CopyQ DEBUG [2025-10-07 19:19:14.183] <Server-148>: Tab "Zwis&chenablage": Loading items from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
CopyQ DEBUG [2025-10-07 19:19:14.361] <Server-148>: Tab "Zwis&chenablage": 300 items loaded from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
CopyQ DEBUG [2025-10-07 19:19:14.553] <Server-148>: Executing: copyq eval -- onItemsLoaded()
CopyQ DEBUG [2025-10-07 19:19:14.747] <Server-148>: Executing: copyq eval -- onTabSelected()
CopyQ DEBUG [2025-10-07 19:19:14.939] <Server-148>: Executing: copyq eval -- runDisplayCommands()
CopyQ DEBUG [2025-10-07 19:19:15.225] <monitorClipboard-4148>: Clipboard formats to save: image/svg+xml, image/png, image/gif, application/x-copyq-encrypted, application/x-copyq-item-notes, application/x-copyq-item-icon, application/x-copyq-item-pinned, application/x-copyq-tags, text/plain, text/plain;charset=utf-8, text/html, application/x-copyq-item
CopyQ DEBUG [2025-10-07 19:19:15.229] <Server-148>: Closing server.
CopyQ DEBUG [2025-10-07 19:19:15.861] <Server-148>: Waiting for callback to finish
CopyQ DEBUG [2025-10-07 19:19:16.034] <monitorClipboard-4148>: Clipboard owner: Windows PowerShell ISE
CopyQ DEBUG [2025-10-07 19:19:16.040] <Server-148>: Callback finished
CopyQ DEBUG [2025-10-07 19:19:16.694] <Server-148>: Starting callback: onExit
CopyQ DEBUG [2025-10-07 19:19:16.870] <Server-148>: Executing: copyq onExit
CopyQ DEBUG [2025-10-07 19:19:17.064] <Server-148>: Waiting for callback to finish
CopyQ DEBUG [2025-10-07 19:19:17.227] <Server-148>: Callback finished
CopyQ DEBUG [2025-10-07 19:19:16.747] <monitorClipboard-4148>: Next clipboard owner: Windows PowerShell ISE
CopyQ DEBUG [2025-10-07 19:19:17.722] <Server-148>: Cleaning unused item files
CopyQ DEBUG [2025-10-07 19:19:18.029] <Server-148>: Executing: copyq eval -- runDisplayCommands()
CopyQ DEBUG [2025-10-07 19:19:18.225] <Client-9192>: Waiting for server to start
CopyQ DEBUG [2025-10-07 19:19:18.234] <Server-148>: Closing server.
CopyQ DEBUG [2025-10-07 19:19:18.665] <Server-148>: Monitor finished
CopyQ ERROR [2025-10-07 19:19:19.404] <Client-9192>: Es kann keine Verbindung zum Server hergestellt werden! Bitte zuerst den CopyQ-Server starten.

I don't think, that there's a sort of minimize animation.

I did a screencapture and uploaded it here.

Markus

MarGeb1 avatar Oct 07 '25 17:10 MarGeb1

I did a screencapture and uploaded it here.

Thanks for sharing. It looks like the target window does not get the focus after opening CopyQ from tray and activating an item, but it gets focus after you minimize the main window manually.

I tried to start CopyQ in Debug-Mode as described in the FAQ, but it closes again after some seconds.

The debug logs would help figure out what is being focused.

Can you set the COPYQ_LOG_LEVEL environment variable on Windows globally to DEBUG? I have not used Windows in very long time, but I remember there were some system settings to do that. After that, restart CopyQ and check the Log dialog (F12 shortcut) if some "DEBUG" logs show up.


One possible workaround to try, which does not require the previous window to get focus, is to add a command to override "paste" function (here is how to add the command to CopyQ):

[Command]
Command="
    const paste_ = global.paste;
    global.paste = function() {
        // wait for a bit (500ms) for the previous window and target text field to get focus
        sleep(500);
        popup('Pasting to window: ' + currentWindowTitle());
        paste_();
    }"
Icon=
IsScript=true
Name=Custom Paste Function

Also, make sure you have the latest CopyQ release installed.

hluk avatar Oct 08 '25 07:10 hluk

Hi Lukas,

I added COPYQ_LOG_LEVEL = DEBUG to the system variables. First I tried to paste from CopyQ minimized to systray (not working), then from minimized to tray CopyQ (working). Here's the log:

[2025-10-08 20:59:03.936] DEBUG <Server-3856>: [default] QtDebug: Geometry: Window " "MainWindow" ":  Restore  geometry " "Options/MainWindow_geometry" "" ":  "645x421,0,0"  ->  "423x877,1495,137"
[2025-10-08 20:59:03.936] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:03.951] DEBUG <Server-3856>: Loading configuration
[2025-10-08 20:59:04.283] DEBUG <Server-3856>: Tab "Zwis&chenablage": Loading items from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
[2025-10-08 20:59:04.283] DEBUG <Server-3856>: Tab "Zwis&chenablage": 200 items loaded from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
[2025-10-08 20:59:04.299] DEBUG <Server-3856>: Tab "Zwis&chenablage": Unloading
[2025-10-08 20:59:04.299] Warning <Server-3856>: [default] QtWarning: QSystemTrayIcon::setVisible: No Icon set
[2025-10-08 20:59:04.321] DEBUG <Server-3856>: Executing: copyq eval -- collectScriptOverrides()
[2025-10-08 20:59:04.337] DEBUG <Server-3856>: Configuration loaded
[2025-10-08 20:59:04.337] DEBUG <Server-3856>: Starting monitor
[2025-10-08 20:59:04.337] DEBUG <Server-3856>: Executing: copyq --clipboard-access monitorClipboard
[2025-10-08 20:59:04.337] DEBUG <Server-3856>: Starting callback: onStart
[2025-10-08 20:59:04.337] DEBUG <Server-3856>: Executing: copyq onStart
[2025-10-08 20:59:04.352] DEBUG <Server-3856>: Tab "Zwis&chenablage": Loading items from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
[2025-10-08 20:59:04.352] DEBUG <Server-3856>: Tab "Zwis&chenablage": 300 items loaded from: C:/Users/Pit/AppData/Roaming/copyq/copyq_tab_WndpcyZjaGVuYWJsYWdl.dat
[2025-10-08 20:59:04.352] DEBUG <Server-3856>: Executing: copyq eval -- onItemsLoaded()
[2025-10-08 20:59:04.352] DEBUG <Server-3856>: Executing: copyq eval -- onTabSelected()
[2025-10-08 20:59:04.368] DEBUG <Server-3856>: Executing: copyq eval -- runDisplayCommands()
[2025-10-08 20:59:04.406] DEBUG <cmd/monitorClipboard-9012>: Clipboard formats to save: image/svg+xml, image/png, image/gif, application/x-copyq-encrypted, application/x-copyq-item-notes, application/x-copyq-item-icon, application/x-copyq-item-pinned, application/x-copyq-tags, text/plain, text/plain;charset=utf-8, text/html, application/x-copyq-item
[2025-10-08 20:59:07.792] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:07.877] DEBUG <Server-3856>: Window 591446 "CopyQ": Raised
[2025-10-08 20:59:07.981] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ
[2025-10-08 20:59:07.981] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ
[2025-10-08 20:59:09.897] DEBUG <Server-3856>: [default] QtDebug: Geometry: Window " "LogDialog" ":  Restore  geometry " "Options/LogDialog_geometry" "" ":  "585x680,0,0"  ->  "647x563,346,148"
[2025-10-08 20:59:09.998] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: Protokoll - CopyQ
[2025-10-08 20:59:09.998] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: Protokoll - CopyQ
[2025-10-08 20:59:10.016] DEBUG <Server-3856>: Focus window is "Protokoll - CopyQ": [QDialog] Protokoll
[2025-10-08 20:59:12.080] DEBUG <Server-3856>: Focus window is "Protokoll - CopyQ": [QDialog] Protokoll
[2025-10-08 20:59:15.023] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ
[2025-10-08 20:59:15.024] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ
[2025-10-08 20:59:17.809] DEBUG <Server-3856>: Saving items on application state change (2)
[2025-10-08 20:59:17.909] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:18.084] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:18.084] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:20.622] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:21.203] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:21.372] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:21.504] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:21.593] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ
[2025-10-08 20:59:21.593] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ
[2025-10-08 20:59:22.274] DEBUG <Server-3856>: Got main window close event.
[2025-10-08 20:59:22.375] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:22.596] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:22.596] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:25.029] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:25.118] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ
[2025-10-08 20:59:25.118] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ
[2025-10-08 20:59:27.404] DEBUG <Server-3856>: Executing: copyq --clipboard-access provideClipboard
[2025-10-08 20:59:27.411] DEBUG <Server-3856>: Window 197554 "": Attached foreground thread
[2025-10-08 20:59:27.419] DEBUG <Server-3856>: Window 197554 "": Raised
[2025-10-08 20:59:27.419] DEBUG <Server-3856>: Pasting item with paste()
[2025-10-08 20:59:27.419] DEBUG <Server-3856>: Executing: copyq eval -- paste()
[2025-10-08 20:59:27.422] DEBUG <Server-3856>: Saving items on application state change (2)
[2025-10-08 20:59:27.423] DEBUG <Server-3856>: Tab "Zwis&chenablage": Saving 300 items
[2025-10-08 20:59:27.425] DEBUG <Server-3856>: Tab "Zwis&chenablage": Items saved
[2025-10-08 20:59:27.454] DEBUG <cmd/monitorClipboard-9012>: Clipboard changed, owner is:  <Server-3856>/1
[2025-10-08 20:59:27.454] DEBUG <cmd/monitorClipboard-9012>: onOwnClipboardChanged
[2025-10-08 20:59:27.455] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: 
[2025-10-08 20:59:27.455] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: 
[2025-10-08 20:59:27.455] DEBUG <Server-3856>: Executing: copyq onOwnClipboardChanged
[2025-10-08 20:59:27.480] DEBUG <cmd/provideClipboard-10712>: Started providing clipboard
[2025-10-08 20:59:27.485] DEBUG <cmd/monitorClipboard-9012>: Clipboard changed, owner is:  <cmd/provideClipboard-10712>/1
[2025-10-08 20:59:27.486] DEBUG <cmd/monitorClipboard-9012>: onOwnClipboardChanged
[2025-10-08 20:59:27.488] DEBUG <Server-3856>: Executing: copyq onOwnClipboardChanged
[2025-10-08 20:59:27.609] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:27.973] DEBUG <Server-3856>: Window 197554 "": Attached foreground thread
[2025-10-08 20:59:27.973] DEBUG <Server-3856>: Window 197554 "": Raised
[2025-10-08 20:59:28.105] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:28.137] DEBUG <Server-3856>: Window 197554 "": Paste successful
[2025-10-08 20:59:28.174] DEBUG <Client-5232>: Delay after paste: 250ms
[2025-10-08 20:59:32.831] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:32.846] DEBUG <Server-3856>: Window 656982 "CopyQ loses data (a little bit) - CopyQ": Raised
[2025-10-08 20:59:33.206] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ loses data (a little bit) - CopyQ
[2025-10-08 20:59:33.206] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ loses data (a little bit) - CopyQ
[2025-10-08 20:59:39.248] DEBUG <Server-3856>: Saving items on application state change (2)
[2025-10-08 20:59:39.284] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:39.284] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:39.348] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:42.832] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ loses data (a little bit) - CopyQ
[2025-10-08 20:59:42.832] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ loses data (a little bit) - CopyQ
[2025-10-08 20:59:45.295] DEBUG <Server-3856>: Executing: copyq --clipboard-access provideClipboard
[2025-10-08 20:59:45.308] DEBUG <Server-3856>: Window 787656 "*new 1 - Notepad++": Attached foreground thread
[2025-10-08 20:59:45.323] DEBUG <Server-3856>: Window 787656 "*new 1 - Notepad++": Raised
[2025-10-08 20:59:45.323] DEBUG <Server-3856>: Pasting item with paste()
[2025-10-08 20:59:45.324] DEBUG <Server-3856>: Executing: copyq eval -- paste()
[2025-10-08 20:59:45.326] DEBUG <Server-3856>: Saving items on application state change (2)
[2025-10-08 20:59:45.341] DEBUG <cmd/provideClipboard-10712>: Finished providing clipboard
[2025-10-08 20:59:45.344] DEBUG <cmd/monitorClipboard-9012>: Clipboard changed, owner is:  <Server-3856>/2
[2025-10-08 20:59:45.344] DEBUG <cmd/monitorClipboard-9012>: onOwnClipboardChanged
[2025-10-08 20:59:45.345] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:45.345] DEBUG <Server-3856>: Executing: copyq onOwnClipboardChanged
[2025-10-08 20:59:45.356] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: *new 1 - Notepad++
[2025-10-08 20:59:45.383] DEBUG <cmd/provideClipboard-7936>: Started providing clipboard
[2025-10-08 20:59:45.387] DEBUG <cmd/monitorClipboard-9012>: Clipboard changed, owner is:  <cmd/provideClipboard-7936>/1
[2025-10-08 20:59:45.388] DEBUG <cmd/monitorClipboard-9012>: onOwnClipboardChanged
[2025-10-08 20:59:45.388] DEBUG <Server-3856>: Executing: copyq onOwnClipboardChanged
[2025-10-08 20:59:45.408] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:45.642] DEBUG <Server-3856>: Focus window is "*new 1 - Notepad++"
[2025-10-08 20:59:45.866] DEBUG <Server-3856>: Window 787656 "*new 1 - Notepad++": Attached foreground thread
[2025-10-08 20:59:45.881] DEBUG <Server-3856>: Window 787656 "*new 1 - Notepad++": Raised
[2025-10-08 20:59:46.052] DEBUG <Server-3856>: Window 787656 "*new 1 - Notepad++": Paste successful
[2025-10-08 20:59:46.083] DEBUG <Client-8396>: Delay after paste: 250ms
[2025-10-08 20:59:51.683] DEBUG <Server-3856>: Focus window is ""
[2025-10-08 20:59:51.698] DEBUG <Server-3856>: Window 656982 "CopyQ loses data (a little bit) - CopyQ": Raised
[2025-10-08 20:59:51.904] DEBUG <cmd/monitorClipboard-9012>: Next clipboard owner: CopyQ loses data (a little bit) - CopyQ
[2025-10-08 20:59:51.904] DEBUG <cmd/monitorClipboard-9012>: Clipboard owner: CopyQ loses data (a little bit) - CopyQ

I added your command as well, on first try the notification says

Image

When pasting from CopyQ minimized to tray it's

Image

CopyQ 12.0.1 is installed.

Markus

MarGeb1 avatar Oct 08 '25 19:10 MarGeb1

I added your command as well, on first try the notification says

Image

When pasting from CopyQ minimized to tray it's

Image

So the first try did succeed (with the empty window title)?

Can you disable "Focus last window" in History config tab in CopyQ Preferences and see if that fixes the focusing and pasting?

Image

hluk avatar Oct 10 '25 08:10 hluk

Hi Lukas,

So the first try did succeed (with the empty window title)?

No, that's not working. When the notification shows notepad++ as windows title, that's the working one (when CopyQ is minimized to the normal tray).

Can you disable "Focus last window" in History config tab in CopyQ Preferences and see if that fixes the focusing and pasting?

No, this does not change anything.

Markus

MarGeb1 avatar Oct 10 '25 09:10 MarGeb1

Hi Lukas,

to clarify: I just wanted to share my experience with the paste issue with the OP. I'm familiar with the problem myself, as I only have one Windows PC left, and I'll be switching that one to Linux soon. However, I'm happy to help if I can.

Markus

MarGeb1 avatar Oct 10 '25 16:10 MarGeb1

I quit CopyQ and installed other Clipboard apps, and I can confirm that automatic pasting doesn't work in any of them.

Which other applications are these? Did you try Ditto?

Each ticket should report a single issue, unless there are very related issues. The 3 issues you report here have no apparent relation, and should certainly be tracked in different tickets.

License This comment and any other from myself on this ticket is offered under the terms of CC0 1.0.

Chealer avatar Dec 15 '25 20:12 Chealer

@bazziebaz wrote:

Paste also does not work as expected on Mac OS. Tried reinstall. Reset+Apply of settings does not change the situation.

10.0.0-gf25a022e-v10.0.0

Does this persist with CopyQ 13 or ulterior? And if so, did you see the relevant FAQ entry?

License This comment and any other from myself on this ticket is offered under the terms of CC0 1.0.

Chealer avatar Dec 15 '25 23:12 Chealer

@Chealer. Hi, for testing purposes I used clipboard apps downloaded from the Microsoft Store. I don't remember their names. I only remember that automatic pasting with the mouse didn't work in any of them. It only works for the native Windows clipboard. In the case of CopyQ, I've already gotten used to using the keyboard, with a shortcut key, for automatic pasting to work. I've never used Ditto. From what I've seen, it doesn't seem to have what I consider to be the best feature of CopyQ: tabs for organizing and categorizing frequently used content.

dieg467 avatar Dec 16 '25 00:12 dieg467

Ditto does not offer tabs, but is free and open source and possibly the best clipboard manager for Windows, so you should try it.

@dieg467 wrote:

When I double-click content (text or image) stored in CopyQ, it's not automatically pasted into the app that was active before opening CopyQ. So, I have to use CTRL+V. Is it possible that CopyQ isn't returning focus to other apps after copying content from it?

You are best placed to answer that. Does the window manager show the initial application as focused? Does typing write text in the initial application?

Please remove or strike discussion of unrelated issues.

Please provide reproduction steps

Chealer avatar Dec 16 '25 04:12 Chealer

Did you try Clipdiary? It does the pasting on Win 11 as expected. For organizing your stuff it provides "snippets".

Markus

@Chealer. Hi, for testing purposes I used clipboard apps downloaded from the Microsoft Store. I don't remember their names. I only remember that automatic pasting with the mouse didn't work in any of them.

MarGeb1 avatar Dec 16 '25 05:12 MarGeb1

Hello, @Chealer.

(A) USING THE KEYBOARD.

  1. I click on a chat in the WhatsApp Web application to make it the active window. I see the text cursor blinking.
  2. I press the "Insert" key on the keyboard to open the main CopyQ window.
  3. I double-click on the text stored in CopyQ.
  4. The text is successfully copied to WhatsApp Web.
  5. The CopyQ window closes automatically, as expected.

(B) USING THE MOUSE.

  1. I click on a chat in the WhatsApp Web application to make it the active window. I see the text cursor blinking.
  2. With the mouse, I click on the CopyQ icon in the Windows 11 taskbar to open the main CopyQ window.
  3. I double-click on the text stored in CopyQ.
  4. The text is not copied to WhatsApp Web.
  5. The CopyQ window closes automatically, as expected.

dieg467 avatar Dec 16 '25 19:12 dieg467

I'm using CopyQ v.7. The later versions I've tried (9, 10, 13), besides not pasting content when using the mouse, add a black background to transparent images, and all the content is lost. That's why I can't upgrade. I've stuck with version 7, which I'm happy with. I've also gotten used to using the "insert" keyboard shortcut to open the main CopyQ window so it pastes content automatically.

dieg467 avatar Dec 16 '25 19:12 dieg467

Hello, @MarGeb1 Thanks for recommending Clipdiary. I installed it on my computer, and automatic pasting with the mouse works perfectly. The snippets have a similar functionality to CopyQ's tabs. From now on, I'll use both CopyQ and Clipdiary. I've left them both visible in the Windows system tray. I'll use CopyQ with the keyboard and Clipdiary with the mouse, whichever is more convenient at the time. Thank you so much!

dieg467 avatar Dec 16 '25 20:12 dieg467

I can confirm this for Win 11 and CopyQ 13.0. Under Linux LMDE6 the pasted png keeps its transparency.

(3) .png files with transparent backgrounds are pasted with a black background (issue present in v9, v10).

MarGeb1 avatar Dec 18 '25 14:12 MarGeb1