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

Using [ALT + TAB] destroys keyboard mapping (wayland) #5778

Closed
Tracked by #4367
enoch85 opened this issue Sep 22, 2023 · 10 comments
Closed
Tracked by #4367

Using [ALT + TAB] destroys keyboard mapping (wayland) #5778

enoch85 opened this issue Sep 22, 2023 · 10 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@enoch85
Copy link
Contributor

enoch85 commented Sep 22, 2023

Bug Description

Been using Rustdesk for a while (thank you <3) and I've noticed a strange behavior when using alt + tab to switch between my desktop and Rustdesk. It's just like the keyboard mapping is messed up and makes Rustdesk impossible to use. The only way to restore the mapping is to disconnect and reconnect.

I'm on Ubuntu 22.04 desktop (minimal) using the .deb, and the client on the other side is usually Mac or Linux, more less on Windows.

How to Reproduce

  1. Connect to a remote session from Ubuntu 22.04
  2. Do alt + tab several times
  3. Notice that after X amount of times, the text on the client side is jibberish (%¤#£=)

Expected Behavior

Keyboard mapping should work no matter if you alt + tab or not.

Operating system(s) on local side and remote side

Ubuntu 22.04 --> Windows, Mac, Linux

RustDesk Version(s) on local side and remote side

1.22

Screenshots

N/A right now

Additional Context

No response

@enoch85 enoch85 added the bug Something isn't working label Sep 22, 2023
@enoch85
Copy link
Contributor Author

enoch85 commented Sep 22, 2023

Maybe this fits in here? #4367

@rustdesk
Copy link
Owner

yes, tracked by #4367

@rustdesk
Copy link
Owner

rustdesk commented Sep 22, 2023

@fufesou give this higher priority

@rustdesk rustdesk added the good first issue Good for newcomers label Sep 22, 2023
@fufesou
Copy link
Collaborator

fufesou commented Sep 24, 2023

@enoch85 Hi, thanks for your feedback.

It's not easy to reproduce this issue for me.

Notice that after X amount of times, the text on the client side is jibberish (%¤#£=)

Maybe it's related to some other potential flutter bug.

How many times has this problem occurred on your computer? Does it occur easily?

@enoch85
Copy link
Contributor Author

enoch85 commented Sep 24, 2023

@enoch85 Hi, thanks for your feedback.

It's not easy to reproduce this issue for me.

Notice that after X amount of times, the text on the client side is jibberish (%¤#£=)

Maybe it's related to some other potential flutter bug.

How many times has this problem occurred on your computer? Does it occur easily?

I'm on Wayland, maybe that's the issue?

It occurs exactly 100% of the times if I forget about it (and don't use the mouse to switch between windows instead).

I've been having around 40 sessions so far.

@enoch85
Copy link
Contributor Author

enoch85 commented Sep 24, 2023

My laptop is a Dell XPS 13, 9310.

@rustdesk rustdesk changed the title Using [ALT + TAB] destroys keyboard mapping Using [ALT + TAB] destroys keyboard mapping (wayland) Sep 24, 2023
@fufesou
Copy link
Collaborator

fufesou commented Sep 24, 2023

Thanks, there's a bug here. I'll fix this issue later.

@rustdesk
Copy link
Owner

Please try out the latest nightly build.

@enoch85
Copy link
Contributor Author

enoch85 commented Sep 25, 2023

Thanks for a quick fix!

Will test this on Friday.

@enoch85
Copy link
Contributor Author

enoch85 commented Sep 27, 2023

Tested now, and it seems to work so far! Thanks!

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

No branches or pull requests

3 participants