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

Emoji autocomplete delay is too high by default #19333

Open
Peque opened this issue Oct 9, 2021 · 8 comments
Open

Emoji autocomplete delay is too high by default #19333

Peque opened this issue Oct 9, 2021 · 8 comments

Comments

@Peque
Copy link

Peque commented Oct 9, 2021

Steps to reproduce

Type :blus<TAB> fast, where <TAB> is simply the TAB key.

Outcome

What did you expect?

I expected :blus<TAB> to insert the 😊 emoji in the chat input bar.

What happened instead?

I can see :blus written in the input bar, with a pop-over with one emoji autocomplete suggestion only (:blush:), but the <TAB> key was forgotten/ignored.

Overall, it felt too slow to respond, when compared to other services like Telegram or Google Meet, where the autocomplete feels instantaneous and :blus<TAB> would always insert 😊 no matter how fast you type.

Operating system

No response

Application version

1.9.0

How did you install the app?

dl.flathub.org

Homeserver

No response

Will you send logs?

No

@Peque Peque added the T-Defect label Oct 9, 2021
@SimonBrandner
Copy link
Contributor

I don't think I can reproduce though I am not 100% sure I understand what you're describing, could you perhaps record a video of this?

@SimonBrandner SimonBrandner added A-Autocomplete A-Composer A-Emoji X-Cannot-Reproduce X-Needs-Info This issue is blocked awaiting information from the reporter labels Oct 9, 2021
@Peque
Copy link
Author

Peque commented Oct 9, 2021

@SimonBrandner Sure! 😊

This is the result after typing :blus<TAB>:

Kooha-10-09-2021-14-32-10.mp4

As you can see, it is the same result as if I just typed :blus, without the TAB press.

That is because the autocomplete pop-over took longer to appear than the time it took me to hit TAB, so the emoji was not autocompleted nor inserted in the input text bar.

@SimonBrandner
Copy link
Contributor

Ah, I see! You should be able to tweak this here:

Screenshot_20211009_145657

Could you try that and let me know if that solves the issue for you?

@Peque
Copy link
Author

Peque commented Oct 9, 2021

@SimonBrandner Yeah, that works thanks! 😊

It was set to 200 ms. With 100 ms I can still hit this issue occasionally. I set it to 50 ms and now I am unable to reproduce the issue. 🎉

I would say this issue could be rephrased to: lower the default autocomplete delay from 200 ms to 50 ms.

Is there any reason to have a higher value by default?

@Peque Peque changed the title Emoji autocomplete is slow Emoji autocomplete delay is too high by default Oct 9, 2021
@SimonBrandner
Copy link
Contributor

Great!

Is there any reason to have a higher value by default?

I am not sure, let's make this a feature request then

@SimonBrandner SimonBrandner added T-Enhancement X-Needs-Design and removed T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter X-Cannot-Reproduce labels Oct 9, 2021
@yanndinendal
Copy link

Also, until a few months ago the first autocomplete (whether a username or emoji autocomplete) was instantaneously inserted, so you could go on with your life if you wanted the first result, and only needed to use the popup if you really wanted to choose another emoji/username. Now, you always need at least two keypress to insert an emoji/username. 😩

@Peque
Copy link
Author

Peque commented Oct 21, 2021

@yanndinendal I don't think that is related to this issue. 🤔

@yanndinendal
Copy link

Yes, sorry. It may be related if someone (like me) searches if there are issues regarding the fact that it has now become slow to autocomplete. But yes, sorry for the Off Topic, this one is about the time it takes to open it, not the time it takes to validate it.

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

No branches or pull requests

3 participants