-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
freerdp 3 captures mouse events in gnome 46 Activities Overview #10028
Comments
I am also seeing this anomaly using Ubuntu 22.04, fully patched. I started noticing this with FreeRDP 3.3.0 official release, and now again with 3.4.0 release. I am connecting to a Windows 2022 RDS Server. It is really scary because you can accidentally apply mouse movements and keyboard commands in the other windows by mistake which can be dire. The workaround for me so far is to make sure I minimize the RDP window first before I move focus out of the window into another session or terminal. As the OP mentions, I am not sure it is a Gnome thing but I have tried to change the various Gnome tweaks to see if it had any effects but it did not. I also always use -grab-keyboard and this no longer works as it should in this situation. Please take a look. I will also start a new issue about this but I thought I would mention it here as it may be related. Since again 3.3/3.4 releases I have been getting a lot of BadWindow (invalid Window parameter) errors and failure to connects because of it. Retrying sometimes works but usually I have to stop all other sessions and try again before success. This error reminds me of the time when there was a problem connecting to multiple sessions simultaneously through Remina. |
please clarify if there is something that is not handled like that (mouse out of window and still redirecting events?) |
|
ok, I´ve just tested here on fedora 39: it definitely did not send mouse events to the session once another window had focus. so, unless you can give me more details I assume this issue answered. note: I´ve used https://github.com/akallabeth/FreeRDP/tree/input_check to test, this branch adds log messages for all keyboard and mouse events. |
@akallabeth I found out the same issue applies to Gnome Calendar/Notification popup window. I was able to record some footage: 2024-04-16.11-03-04.mp4The remote desktop handles both mouse movements + mouse click (I selected some text at the end of the video by double clicking) |
so basically a gnome feature/bug on X11 |
Describe the bug
After upgrading to gnome 46 and xfreerdp3, entering Gnome Activities Overview through top-left hot corner no longer disables mouse events within remote desktop.
Could be a Gnome 46 issue, I'm not sure
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After entering Gnome Activities Overview, no mouse events should be registered on remote desktop
Application details
xfreerdp /version
): FreeRDP version 3.4.0xfreerdp3 /u:*** /p:*** /w:1920 /h:1080 /v:*** /smart-sizing +auto-reconnect
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: