Can't paste in Steam chat window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Diodon |
New
|
Undecided
|
Unassigned |
Bug Description
Diodon won't paste into the Steam chat window.
From what I have read, Diodon simulates a Ctrl + V keystroke.
Steam works manually with that keystroke, however when simulated manually using xte
(xte 'keydown Control_L' 'key v' 'keyup Control_L'), the keystroke is not registered, and thus the clipboard content does not get pasted.
After some time, I found out that in order for steam to paste, there needs to be a delay between keystrokes.
From my tests, an optimal value seems to be 50000μS.
So with that, the xte command becomes xte 'keydown Control_L' 'usleep 50000' 'key v' 'usleep 50000' 'keyup Control_L',
and now steam registers the keystroke and pastes.
A possible fix would be an option to allow per-application custom delay values.
description: | updated |
description: | updated |
Thanks for reporting. I guess it would be better to find a delay which works on all apps if possible at all. Needs to be verified whether other apps are affected as well.