Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag - Delay #461

Open
LiasOne opened this issue Apr 12, 2024 · 5 comments
Open

Lag - Delay #461

LiasOne opened this issue Apr 12, 2024 · 5 comments

Comments

@LiasOne
Copy link

LiasOne commented Apr 12, 2024

After fixing the #445

When using the shortcut to change to the next entry the Ctrl+V is pasting the previous entry. It needs 2 sec to paste the selected entry. Lag - delay 2 sec.

Edit: The lag is happening on the keyboard. After using the shortcut the keyboard needs 1-2 sec to work again.

Arch Linux
Gnome 46
Wayland

@Tudmotu
Copy link
Owner

Tudmotu commented Apr 12, 2024

Do you have the "move item to top" setting enabled?
image

@LiasOne
Copy link
Author

LiasOne commented Apr 15, 2024

Yes, I have this enabled. I have had it before but this is the first time that this lag has been happening. I disable it and the lag has vanished.

@Tudmotu
Copy link
Owner

Tudmotu commented Apr 15, 2024

The lag is there because otherwise, when using the next/previous shortcuts, you get into a loop between the first two items:

  1. You select something in the clipboard, it moves to the first position
  2. Now you use the shortcut to select the next entry
  3. The 2nd entry immediately moves to the top of the list
  4. Now the item you first selected, is the 2nd item
  5. You use the shortcut to select the next item again
  6. You are stuck in a loop

The delay allows you to rapidly move between the items before they are moved to the top.

There could maybe be a better way of achieving this.

Now, I am not 100% sure that your issue is not something else.

Can you please disable this option and see if the delay persists?

@LiasOne
Copy link
Author

LiasOne commented Apr 16, 2024

As I said in the previous comment I have disabled the option to move item to the top after your recommendation. And is working smoothly.

Thank you very much for your support and for this awesome extension. It helps me a lot in my daily job.

@Tudmotu
Copy link
Owner

Tudmotu commented Apr 16, 2024

As I said in the previous comment I have disabled the option to move item to the top after your recommendation. And is working smoothly.

Thank you very much for your support and for this awesome extension. It helps me a lot in my daily job.

Ah, thank you! Sorry, I missed the last part 🙂
Thank you for confirming 🙏

I am gonna leave this issue open, in case anyone comes up with an idea to prevent the looping issue from happening without introducing a timeout between selections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants