if I select a clipboard entry in the main windows, press enter, it should paste it in the current app
the above behovior works well in all my apps, except pycharm
in pycharm, 90% of the time it does not work (entry get loaded into clipboard, but not pasted), 10% of the time it correctly get pasted
I observed keyboard press using external screenkey app. It seems copyq is using shift + insert to paste. 90% of the time, when pycharm is in focus, shift + insert is not sent by copyQ, therefore nothing is pasted
To Reproduce
Focus on pycharm window
Open main copyQ windows
select a clipboard entry with Up/Down
press enter
entry does not get pasted into pycharm :/ you have to manually press ctrl+V or shift+Insert to paste the entry
Expected behavior
pasting should work in pycharm like in other app
Version, OS and Environment
Tested on both ubuntu 20.04 and 22.04, with pycharm 2023.xxxx and pycharm 2024.xxxx
CopyQ Clipboard Manager 9.0.0~jammy
x11
edit: logs
I managed to get some logs :)
successfull paste in sublime text
DEBUG: Executing: copyq onClipboardChanged
DEBUG: Focus window is "untitled • - Sublime Text (UNREGISTERED)"
DEBUG: Raising window "DEBUG: Focus windo…nfig_train.py" ... (13 lines) — CopyQ"
DEBUG: Geometry: Window "MainWindow": Save geometry "Options/MainWindow_geometry_screen_2_1920x1080": 1874x1051,0,29
DEBUG: Raising window "untitled • - Sublime Text (UNREGISTERED)"
DEBUG: Pasting item from main window to: untitled • - Sublime Text (UNREGISTERED)
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Raising window "untitled • - Sublime Text (UNREGISTERED)"
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Focus window is "untitled • - Sublime Text (UNREGISTERED)"
DEBUG: Saving items on application state change (2)
DEBUG: Tab "&clipboard": Saving 200 items
DEBUG: Tab "&clipboard": Items saved
successfull paste in pycharm
DEBUG: Raising window "... — CopyQ"
DEBUG: Geometry: Window "MainWindow": Save geometry "Options/MainWindow_geometry_screen_2_1920x1080": 1874x1051,0,29
DEBUG: Raising window "my-pycharm-project – config_train.py"
DEBUG: Pasting item from main window to: my-pycharm-project – config_train.py
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Raising window "my-pycharm-project – config_train.py"
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Saving items on application state change (2)
DEBUG: Tab "&clipboard": Saving 200 items
DEBUG: Tab "&clipboard": Items saved
DEBUG: Focus window is "my-pycharm-project – config_train.py"
failed paste in pycharm
DEBUG: Focus window is "my-pycharm-project – config_train.py"
DEBUG: Focus window is "my-pycharm-project – config_train.py"
DEBUG: Raising window "CopyQ"
DEBUG: Geometry: Window "MainWindow": Save geometry "Options/MainWindow_geometry_screen_2_1920x1080": 1874x1051,0,29
DEBUG: Raising window "my-pycharm-project – config_train.py"
DEBUG: Pasting item from main window to: my-pycharm-project – config_train.py
DEBUG: Raising window "my-pycharm-project – config_train.py"
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Executing: copyq onOwnClipboardChanged
DEBUG: Saving items on application state change (2)
DEBUG: Failed to focus window "my-pycharm-project – config_train.py"
DEBUG: Focus window is "another window"
it seems to be a problem with the focusing: Failed to focus window
Describe the bug
screenkey
app. It seemscopyq
is usingshift + insert
to paste. 90% of the time, when pycharm is in focus,shift + insert
is not sent by copyQ, therefore nothing is pastedTo Reproduce Focus on pycharm window Open main copyQ windows select a clipboard entry with
Up
/Down
press enter entry does not get pasted into pycharm :/ you have to manually pressctrl+V
orshift+Insert
to paste the entryExpected behavior pasting should work in pycharm like in other app
Version, OS and Environment Tested on both ubuntu 20.04 and 22.04, with pycharm 2023.xxxx and pycharm 2024.xxxx CopyQ Clipboard Manager 9.0.0~jammy x11
edit: logs
I managed to get some logs :)
successfull paste in sublime text
successfull paste in pycharm
failed paste in pycharm
it seems to be a problem with the focusing:
Failed to focus window