hluk / CopyQ

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

Fail to paste into Blender #2623

Open KristjanLaane opened 4 months ago

KristjanLaane commented 4 months ago

Describe the bug Copyq is not working when attempting to paste into active window of Blender (3D software)

I have already tried setting the undocumented copyq option of paste_with_ctrl_v_windows=".*" https://github.com/hluk/CopyQ/issues/633 - it neither works with Ctrl V nor with the default Shift Insert

And the interesting thing is that ClipboardFusion, another clipboard manager, is able to paste into Blender no problem, so it means it is possible in principle

To Reproduce

  1. Install Blender if you dont have it https://www.blender.org/download/

  2. Open Blender

  3. Put cursor into any textbox, for instance this one in the top right corner: image

  4. Call a menu with global shortcut with command:

    copyq:
    menu("YourTabName")
  5. Activate a text item from the copyq list to paste into Blender

  6. That text is not pasted when that very same text is successfully pasted into other applications

In the background the activated text is put into clipboard and the logs show as if everything is fine, at least to me:

DEBUG [2024-02-25 17:05:14.433] : Pasting item from tray menu to " (Unsaved) - Blender 4.0". DEBUG [2024-02-25 17:05:14.450] : Paste with Ctrl+V requested with option "paste_with_ctrl_v_windows" for window " (Unsaved) - Blender 4.0". DEBUG [2024-02-25 17:05:14.454] : Window 131792 " (Unsaved) - Blender 4.0": Attached foreground thread DEBUG [2024-02-25 17:05:14.478] : Window 131792 " (Unsaved) - Blender 4.0": Raised DEBUG [2024-02-25 17:05:14.488] : Saving items on application state change (2) DEBUG [2024-02-25 17:05:14.507] : Window 131792 " (Unsaved) - Blender 4.0": Attached foreground thread DEBUG [2024-02-25 17:05:14.519] : Window 131792 " (Unsaved) - Blender 4.0": Raised DEBUG [2024-02-25 17:05:14.526] : Clipboard changed, owner is " /1" DEBUG [2024-02-25 17:05:14.530] : onMonitorClipboardChanged: own clipboard, owner is " /1" DEBUG [2024-02-25 17:05:14.534] : Executing: copyq onOwnClipboardChanged DEBUG [2024-02-25 17:05:14.643] : Window 131792 " (Unsaved) - Blender 4.0": Paste successful DEBUG [2024-02-25 17:05:14.671] : Focus window is " (Unsaved) - Blender 4.0" DEBUG [2024-02-25 17:05:18.618] : Focus window is "" DEBUG [2024-02-25 17:05:18.660] : Window 527330 "Surpri - CopyQ": Raised

Version, OS and Environment