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

Key stays pressed if connection is suddenly closed. #169

Open
ghuser opened this issue Apr 29, 2021 · 0 comments
Open

Key stays pressed if connection is suddenly closed. #169

ghuser opened this issue Apr 29, 2021 · 0 comments
Labels

Comments

@ghuser
Copy link

ghuser commented Apr 29, 2021

If you'd like to put out an incentive for fixing this bug, you can do so at https://issuehunt.io/r/LibVNC/x11vnc

Describe the bug

I was connected (with vinagre client) to the service, writing some text to an editor and suddenly the connection closed.
After connecting back to the service, I realized that, the last letter I pressed, was constantly repeating in the editor like the key was still down. Only until I pressed something on the keyboard it stopped writing the character.

To Reproduce

Keeping a key down and pulling the cable, then leaving the key and putting the cable back and trying to reconnect may be an option to reproduce.
A note: I use very small keypress delay on my keyboard settings on the remote server, while on local it is not that small. Not sure if it is related.

Expected Behavior

If I continuously press a key while the connection is lost I want to be sure that the key does not stay pressed on the remote.

Imagine the case where someone continuously presses delete to remove the first 100 files from a big file list. If the connection is lost the deletion will continue and at some point it will remove files we do not want.

Screenshots

Desktop (please complete the following information):

  • OS and version: ubuntu 18.04 (using MATE)
  • Xorg version used: 2:1.19.6-1ubuntu4.6
  • Wayland version used:

Additional context

@ghuser ghuser added the bug label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant