Keystrokes double up when typing as a screen share guest
complete
Log In
P
Paul Sadauskas
I'm also having this issue. Linux/KDE/Fedora 38/X11. Pop 8.0.81 | 8.0.20. I have "focus follows mouse" enabled. Connecting to a Mac user as the guest controlling their screen.
As mentioned by others, I can work around it by keeping the mouse inside the Pop window, but outside the region of the window that is the shared screen. If I move it inside, every keystroke is duplicated. It seems like the Pop window is receiving the keypress from X11/KDE, and then also registering the keydown/keyup event, and sending both across.
C
Chris TenHarmsel
J Sherwani (Pop Team) I'm still having this issue on Arch linux, even on version 3.1.19|3.1.3.
I am able to avoid the issue if my mouse is not over the screen window. This happens with a mac host and my linux system as the guest.
Any ideas?
xinput: https://pastebin.com/rcWQKEhv
M
Marshall Moutenot
Chris TenHarmsel: Same with me. On ubuntu running i3wm. Happens when the other party sharing screen is mac. I reinstalled latest version of Screen yesterday (2020-11-12).
xinput: https://pastebin.com/QFNiqu04
J
Jeramie Risinger
I'm seeing similar issues when sharing on ubuntu version v2.1.7|2.1.5 and mac v2.1.3. Tried reinstalling screen and having either the mac or the linux box host, keystrokes double up either way.
J Sherwani (Pop Team)
This should now be fixed as part of v2.0 — let me know if you’re experiencing this issue on v2.0 and if you do, paste your xinput and also let me know which entries should be considered keyboards (since it's often not clear from the text which keyboards are actually keyboards).
We have a few other potential options to address this issue, which we will in upcoming releases, but in the meantime, please keep the feedback coming.
A
Aaron Jensen
Here is my xinput: https://pastebin.com/raw/BWJ0KFYd
J Sherwani (Pop Team)
Aaron Jensen: Could you try v2.0 and if it still doesn't work, let me know which device(s) from your xinput should be considered keyboards?
A
Aaron Jensen
J Sherwani (Pop Team): It works now, thank you!
A
Aaron Jensen
I'm still seeing this on v1.2.35 | v1.2.10 (no idea why there are two versions)
T
Taylor Thurlow
I'm also seeing this with a linux guest trying to control my machine. Double key presses. On v1.2.35 | v.1.27, macOS host, linux guest.
J Sherwani (Pop Team)
Taylor Thurlow: Could you try v2.0 and if it still doesn't work, share your
xinput
, and also let me know which device(s) should be considered keyboards?J Sherwani (Pop Team)
complete
T
Taylor Thurlow
J Sherwani (Pop Team): Not sure if new comments on completed tickets notify you, but this still seems to be an issue.
J Sherwani (Pop Team)
Great news, everyone… we just pushed out a fix for this! Please update to Screen for Linux (v1.2.6) and try it out. Let me know if you have any issues!
Edit: v1.2.7 contains an even better fix that should make it work for all keyboard devices (even non-standard ones).
F
Federico Biccheddu
J Sherwani (Pop Team): Yes, the problem of double keystrokes seems to be gone.
The problem with uppercase letters is still present!
Thank you for your work!!
J Sherwani (Pop Team)
Federico Biccheddu: Could you please paste the output from running
xinput
in your Terminal? Thanks!F
Federico Biccheddu
J Sherwani (Pop Team): sure!
J Sherwani (Pop Team)
Federico Biccheddu: thanks! I’ve ordered your keyboard so I can reproduce the bug. Should have it (the keyboard and the bug fix) on Monday!
J Sherwani (Pop Team)
Federico Biccheddu: I have your keyboard and while I couldn't reproduce your issue, I think I have an idea of what may be causing the problem. We'll be releasing an update tomorrow if all goes well, and I'll let you know once that's out — I just wanted to give you an update so you knew we hadn't forgotten!
F
Federico Biccheddu
J Sherwani (Pop Team): thank you so much for the effort and open communication.
J Sherwani (Pop Team)
Federico Biccheddu: BTW it looks like the duplicate key issue is related to how you have two entries for the same keyboard in xinput:
↳ Corsair Corsair Gaming K68 Keyboard id=13 [slave keyboard (3)]
↳ Corsair Corsair Gaming K68 Keyboard id=14 [slave keyboard (3)]
Questions:
1) Do you know why there are two entries?
2) Is this intentional? If so, do you know how I could reproduce this? Were there any drivers you installed for your keyboard?
F
Federico Biccheddu
J Sherwani (Pop Team):
1) No, I do not know. I did notice, sometimes, at startup my keyboard is not recognized and does not work as intended. I have to physically disconnect it and reconnect.
2) I did never installed drivers for this keyboard.
Can be an ElementaryOS' issue?
I'm trying to know how to permanently disable/uninstall a device, but without success.
J Sherwani (Pop Team)
Federico Biccheddu: Try the latest update and let me know if it fixes things for you.
F
Federico Biccheddu
J Sherwani (Pop Team): Cannot upgrade. I receive the following error:
Setting up screen-desktop (1.2.8)
[...]
dpkg: error processing package screen-desktop (--configure):
installed screen-desktop package post-installation script subprocess returned error exit status 1
Currently on "elementary OS 5.1.5 Hera".
Should I open another bug?
J Sherwani (Pop Team)
Federico Biccheddu: I just pushed out an update using a different mechanism (VM vs cloud build), please try again with v1.2.9.
F
Federico Biccheddu
J Sherwani (Pop Team): Sorry for the delay.
Cannot install the latest version due the same error.
I did try purging configuration and reinstalling from scratch, but nothing happen. Sorry to not be able to help you...
J Sherwani (Pop Team)
We now have a path to reproduction on this issue (thanks to a live debug session with Jason L).
We use 2 different mechanisms to detect which key you’re pressing when controlling someone else’s screen, and it looks like in some cases, we’re not switching between those two mechanisms, so they’re BOTH being used simultaneously. This is a bug!
If you exit full screen, and move your mouse outside the call window, the double keystroke issue should go away. This isn’t a workaround, of course, but it will let us know if this is truly the issue that’s affecting you.
We’re now working on a fix, will keep you posted!
J Sherwani (Pop Team)
Merged in a post:
Massive keybounce with Ubuntu auto-repeat
J
James Levine
An Ubuntu meeting host with keyboard repeat enabled with a Mac joining the meeting Ubuntu was sharing its screen. California <--> Italy. Keypresses from the Mac were generating dozens or hundreds of keypress events. This appears to be related to network latency, perhaps how auto-repeat is implemented on Ubuntu. We cranked down the auto-repeat settings (higher delay, lower speed) which reduced the severity of the behavior somewhat.
Load More
→