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

Bad network condition on client side cause multi-typing #6793

Open
ddddavid-he opened this issue Jan 4, 2024 · 5 comments
Open

Bad network condition on client side cause multi-typing #6793

ddddavid-he opened this issue Jan 4, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@ddddavid-he
Copy link

ddddavid-he commented Jan 4, 2024

Bug Description

When connecting to remote computer in unstable network connections, rustdesk will perform multiple strikes on a single keystroke during typing. (as shown in the screenshot below)

Screenshot_20240104_130702

How to Reproduce

type some word in unstable network connections

Expected Behavior

Type in client, do the same in remote.

Operating system(s) on local side and remote side

Windows 11 -> Debian 12 (KDE Plasma 5)

RustDesk Version(s) on local side and remote side

1.2.3 -> 1.2.4

Screenshots

Screenshot_20240104_130702

Additional Context

No response

@ddddavid-he ddddavid-he added the bug Something isn't working label Jan 4, 2024
@rustdesk rustdesk closed this as completed Jan 4, 2024
@rustdesk rustdesk reopened this Jan 4, 2024
@rustdesk
Copy link
Owner

rustdesk commented Jan 4, 2024

@fufesou to solve this (local press down, but immediate up event is sent to remote late because of network delay, remote linux will think it is a long press), we need send press event (up+down) for every non-modifier down event. To handle long-press, you need to have a timer to send multiple press until up event. But Windows / Osx / Linux have different long press behavior, I remember Windows generates multiple down events for long press, please confirm.

But this also has bad effect.

@fufesou
Copy link
Collaborator

fufesou commented Jan 4, 2024

Windows generates multiple down events for long press

Yes, it generates multiple down events.

Repository owner deleted a comment from fufesou Jan 4, 2024
Repository owner deleted a comment from ddddavid-he Jan 4, 2024
@PiratesIRC
Copy link

I have the same issue, but it only happens when I am typing into VMs on the computer that I am remoted into. The computer I am logging in with and logging in to are connected via ethernet and the rust server is self-hosted on the same computer that is hosting the VMs. This started when I upgraded to the latest version of the rust client.

@harshRn
Copy link

harshRn commented Mar 12, 2024

Hi @rustdesk
Seeing that this is not taken up by anyone, could I take a crack at it ? not sure, how involved the changes would be, but I would be glad to be of some help.
Thanks!

@rustdesk
Copy link
Owner

@harshRn of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants