I’m trying to dig in to https://issues.apache.org/jira/browse/GUACAMOLE-447, the extraneous keyboard repeat issue on iOS. I have figured out how to attach a developer console to Safari while running on the iPad.
Is there a simple way to turn on event logging to see what the Guac client is sending? I’ll dig in to the source code, but if you’ve already figured out how to setup the client for debugging then that will save some time. By the way, the problem is consistent. It also happens in the iPad simulator in Xcode, but does not occur in Safari running on the Mac itself in OSX. - open ‘vi’ in an ‘ssh’ session - press ‘i’ to go to insert mode. Type a few characters, everything is fine. Press ‘ESC’ to exit the input mode. - press ‘o’ to go to insert mode (for non-‘vi’-ers this moves the lines following the cursor position down by one line, opening an empty line to type on. - Don’t touch anything else… after a couple of seconds, you see ‘o’s filling the line. Curiously, the same thing happens in a ‘vnc’ session. As Mike pointed out, it makes very little sense, as ‘vi’ should just be responding to characters. I’m wondering if the issue is something to do with the fact that ‘o’ causes an immediate redraw of half the screen. I’m thinking that the flood of output somehow causes the client to _not_ send the keyup code for ‘o’, or perhaps causes the proxy to miss something. Or some delay somewhere puts guacd into ‘repeat key’ mode, where it gets stuck. There are a lot of possibilities, so I’d like to get some visibility into the event stream to narrow them down. Cheers, Greg Trasuk
