edgardmessias / vscode.clipboard-manager

VSCode: Keep a history of your copied and cut items and re-paste
https://marketplace.visualstudio.com/items?itemName=EdgardMessias.clipboard-manager
MIT License
54 stars 11 forks source link

Bug with preview when inserting multiple entries #259

Open fabb opened 1 year ago

fabb commented 1 year ago

The preview mode is behaving weirdly when no selection is active. It does not replace the preview-inserted text when switching to a different element in the clipboard history either with arrow keys or mouse:

https://github.com/edgardmessias/vscode.clipboard-manager/assets/153960/baaa1a41-e994-4ab1-936b-059a5ad271d0

I'm on macOS Ventura.

SeanTasker commented 1 year ago

I've also been experiencing this for a while and it really degrades productivity. I've been using this clipboard manager for a long time. I cannot pinpoint exactly when this started to occur but it has not always behaved this way.

I did try another clipboard manager and had the same results so I don't know if this is a vscode bug or an extension bug that needs to be resolved with an update.

https://github.com/edgardmessias/vscode.clipboard-manager/assets/2003481/c3adab10-ab8c-45bf-989d-693057339b28

Version: 1.81.0
Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97
Date: 2023-08-02T12:36:11.334Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 5.4.0-147-generic

Running: 1.4.2 (2020-04-03)

SeanTasker commented 1 year ago

It looks like 1.5 "fixes" this problem but at the expense of disabling cycling through the history by pressing paste multiple times in a row - now you have to press the arrow keys to select something from history. Previously you could just hold down the paste modifiers and press the paste key multiple times to select the next one

https://github.com/edgardmessias/vscode.clipboard-manager/issues/255

Broken shortcut:

https://github.com/edgardmessias/vscode.clipboard-manager/assets/2003481/8df4cf0f-8408-4fd4-8d33-0703675c42d2