hluk / CopyQ

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

Ctrl V is disabled when CopyQ is active #2041

Open thorrrr opened 2 years ago

thorrrr commented 2 years ago

HI When CopyQ is disabled everything works fine. But soon as i have it active it has started disabling Ctrl+V across the entire system. Even thou Ctrl+V is set to use paste.

See here

I have reset several times and checked all the shortcuts but i cannot fix it.

Describe the bug See above

Version, OS and Environment Zorin 16.1 Copy Q 6.2.0

hluk commented 2 years ago

That problem is unlikely related to the Paste Items shortcut which should work only from the main window.

Maybe CopyQ is overriding clipboard every time something is copied.

Do you have any extra commands in Commands dialog (F6 shortcut from the main window)?

thorrrr commented 2 years ago

No idea what is going on if i hit show hide it pops up for 1 second then closes i cannot get into it. I hae tried to reset but it does not work

hluk commented 2 years ago

Can you check any errors/warning in the logs? It should be possible to list logs from command line with copyq logs

thorrrr commented 2 years ago

Not recognised i even tried sudo still not recognised https://i.imgur.com/rTHSacG.png

See here https://1drv.ms/u/s!Ao6WCX2miTCJjrFxtzQFOUZLPK_xbA?e=sb8Jjo

thorrrr commented 2 years ago

This is the version i have and thescreen i cannot access

https://i.imgur.com/VM8RODq.png

hluk commented 2 years ago

Oh, that's flatpak version of the app. In that case the command would be:

flatpak run com.github.hluk.copyq logs
thorrrr commented 2 years ago

https://logs.notifiarr.com/?5ea5dc3b4a0bc5a4#7QjVwLdsmJ9R4ks9b8RGeaHDQSCUm39q2vBjHiwSx5dq PLease note the top 98% 1000000 lines was identical data no erros

hluk commented 2 years ago

That is a lot of errors and warnings.

Can you provide the output from the following command?

flatpak run com.github.hluk.copyq 'exportCommands(commands())'

It should print all extra commands used by CopyQ. Perhaps some "automatic" commands could be causing some problems.

thorrrr commented 2 years ago

https://logs.notifiarr.com/?636426a834210831#BGKsA97ZKSgXxBZ7LkqzjYbdGWeyfVWBre6niynsgzDj

hluk commented 2 years ago

You seem to have the type of the first command in the Command dialog set to "Display". Display command type means that the command is run every time an item is displayed in the main window. In this case this type is inappropriate since the command calls hide() and paste() (to hide the main window and trigger paste action).

To fix that you can open Command dialog from command line:

flatpak run com.github.hluk.copyq addCommands

Either remove the command or set correct type.

thorrrr commented 2 years ago

HI I have tried it and restated it and same issue it will not stop on screen!

https://i.imgur.com/yP5FpDX.png

All i am trying to do is use Ctrl+Alt+V to open side panel to show which seems ok. But Ctrl+V for paste does not work all the time. Also i need tobe able to get show/hide to make the panel stop on the screen

hluk commented 2 years ago

I have tried it and restated it and same issue it will not stop on screen!

https://i.imgur.com/yP5FpDX.png

Did you try to remove the first unnamed command?

Also i need tobe able to get show/hide to make the panel stop on the screen

Which panel do you mean? What do you mean by "stop"?

thorrrr commented 2 years ago

OK I didn't see that empty at top of screen i have removed and that looks ok now. But having removed it i have another anomaly which was not there before. WHen i hit CTRL+Alt+V before it always popped up bottom right which is where i wanted it. Now it opens in random places mid screen , to right middle bottom middle just different every time. How can i get it to stop bottom right.

PS Also, out of interest why do you have 3 different panels that can popup? I get two identical ones in different colours and the show/hide why do is there a standard panel and a show/hide which i know have slight different settings but mainly look the same

hluk commented 2 years ago

From the commands you shared I see that you are opening menu and not main window on the Ctrl+Alt+V. Menu normally opens under mouse pointer; the builtin "Show/hide main window" command/shortcut would open the main window on last position on the screen.

Unfortunately, if you use Wayland (instead of X11 session) then window and menu positioning is not supported.

Also, out of interest why do you have 3 different panels that can popup?

The tray menu style is usually managed by desktop environment - the app does not have control over it. Opening menu using the command (copyq menu basically) would open application menu which should be styled according to the settings in the app.

thorrrr commented 2 years ago

HI According to terminal i am on X11

image