Spacebar causes keyboard to stop working during remote control screen share
Hi everyone, I'm having a problem with allowing user remote control while screen sharing with OpenMeetings. When screen sharing begins, users in my system have no trouble remotely controlling the mouse and keyboard of the sharing user's computer. However, when a user who is remote controlling presses the spacebar, a space is entered and then the keyboard input immediately stops working. Nothing can make the keyboard input work again save for shutting the meeting down and starting another one. Does anyone know possible causes for this? I think there may be some sort of conflict with keyboard shortcuts but haven't found any solid information on this. Any help is appreciated, thanks, Andrew
Input problems during remote control with space and enter keys
Hi everyone, I posted about this a while ago and have since found some more about input handling with the OpenMeetings remote control. Basically, my problem is that when a user is remotely controlling another user's screen through OpenMeetings, if the remote-controlling user presses the spacebar or enter key, keyboard input to the remote screen stops working. The mouse will still work, but no keys pressed will register on the other user's computer. It looks like screen remote control within the Flash application is handled by the OpenLaszlo file singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and there are a number of rules to address discrepancies in keycodes between systems, but there appear to be no specific rules in that file governing the spacebar or enter key. I can see that events fire when a key is pressed (keydown) and released (keyup), so my guess at what's going wrong is that there's something about the keyup event that causes it to react badly to the use of the space and enter keys so that it shuts down the keycode processing system entirely. Does anyone who's familiar with the screenSharingDialog.lzx file know what could be happening? Also, has anyone else had problems with the spacebar and enter key stopping keyboard input while remote-controlling another user's screen? If something on my system is causing this, I'd really like to know what it is. Any help is appreciated, thanks, Andrew
Re: Input problems during remote control with space and enter keys
Hi Maxim, Thanks for the message, is this a known problem with other people, or am I the only one experiencing it? I've been doing some tests modifying the source file but so far I haven't been able to figure out what causes the problem or get any debug data to display in my browser. I have included the flash.external.ExternalInterface library in the screenSharingDialog.lzx file and added this line to the keydown and keyup event handlers: ExternalInterface.call( "console.log" , k); But I'm not getting anything to display in Firebug. Is there a good way I can collect debug data from the Flash application? That would help me diagnose the problem. I've tried console-logging the Java application that is run by the person sharing their screen, but it doesn't indicate anything abnormal when the remote user presses spacebar, so I think the problem is with the Flash part of the application. Thanks, Andrew On 08/02/2012 10:17 PM, Maxim Solodovnik wrote: > Thanks for your investigation, I'll try to handle this (if will have > enough time) > Or you can propose the patch :) > > On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul <mailto:and...@contrastco.com>> wrote: > > Hi everyone, > > I posted about this a while ago and have since found some more about > input handling with the OpenMeetings remote control. Basically, my > problem is that when a user is remotely controlling another user's > screen through OpenMeetings, if the remote-controlling user presses the > spacebar or enter key, keyboard input to the remote screen stops > working. The mouse will still work, but no keys pressed will register on > the other user's computer. > > It looks like screen remote control within the Flash application is > handled by the OpenLaszlo file > singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and > there are a number of rules to address discrepancies in keycodes between > systems, but there appear to be no specific rules in that file governing > the spacebar or enter key. I can see that events fire when a key is > pressed (keydown) and released (keyup), so my guess at what's going > wrong is that there's something about the keyup event that causes it to > react badly to the use of the space and enter keys so that it shuts down > the keycode processing system entirely. Does anyone who's familiar with > the screenSharingDialog.lzx file know what could be happening? > > Also, has anyone else had problems with the spacebar and enter key > stopping keyboard input while remote-controlling another user's screen? > If something on my system is causing this, I'd really like to know what > it is. Any help is appreciated, thanks, > > Andrew > > > > > -- > WBR > Maxim aka solomax
Re: Input problems during remote control with space and enter keys
'0.0.0.0', , userport: 39191, userpos: null, VHeight: 367, VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}» STOP: play «flash.net::NetStream#52| [object NetStream]» onkeyup 32 onkeydown 13 downkeys «Array(1)#41| [13]» 1 this.initObject «Object#39| {allowRecording: true, , broadCastID: -2, canDraw: false, canGiveAudio: false, canRemote: false, canShare: false, chatUserRoomId: null, connectedSince: Sat Aug 4 12:15:43 GMT-0700 2012, externalUserId: null, externalUserType: null, firstname: 'Electronic', flvRecordingId: null, flvRecordingMetaDataId: null, formatedDate: null, interviewPodId: null, isAVClient: false, isBroadcasting: false, isChatNotification: false, isMod: false, isRecording: false, isScreenClient: true, isSuperModerator: false, , lastLogin: null, lastname: 'Name', mail: null, micMuted: false, official_code: null, organization_id: 1, picture_uri: null, publicSID: 'f81939f3d735f3cd951239715c7c0e70', room_id: 8, roomClientId: null, roomEnter: null, roomRecordingName: null, scope: '8', screenPublishStarted: false, , startRecording: false, startStreaming: true, streamid: '42', streamPublishName: '22a39439eed2b5670cbe6cbb3390d30b', , user_id: 5, usercolor: null, userip: '0.0.0.0', , userport: 39191, userpos: null, VHeight: 367, VWidth: 1265, VX: 614, VY: 270, zombieCheckFlag: false}» STOP: play «flash.net::NetStream#58| [object NetStream]» onkeyup 13 On 08/04/2012 02:17 AM, Maxim Solodovnik wrote: > Hello Andrew, > > I saw couple reports regarding keys are function weird. > But unfortunately I have no time to work on this :( > > The problems with this are: > 1) Keys presses need to be transferred from Flash to Java and back > 2) same keys has different codes on different OSes > > "included the flash.external.ExternalInterface library" > This might not work since screen component is SWF8 and AFAIK does not > support includes > you can add > if($debug) Debug.write("keydown:", k); to the correspondent handler in > the code > then go to url: > http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf > > and see the codes in OpenLaszlo debug console > > for java applet you can also add debug info to the log > of run applet in debugger > > > On Sat, Aug 4, 2012 at 7:40 AM, Andrew Sengul <mailto:and...@contrastco.com>> wrote: > > Hi Maxim, > > Thanks for the message, is this a known problem with other people, or am > I the only one experiencing it? I've been doing some tests modifying the > source file but so far I haven't been able to figure out what causes the > problem or get any debug data to display in my browser. > > I have included the flash.external.ExternalInterface library in the > screenSharingDialog.lzx file and added this line to the keydown and > keyup event handlers: > > ExternalInterface.call( "console.log" , k); > > But I'm not getting anything to display in Firebug. > > Is there a good way I can collect debug data from the Flash application? > That would help me diagnose the problem. I've tried console-logging the > Java application that is run by the person sharing their screen, but it > doesn't indicate anything abnormal when the remote user presses > spacebar, so I think the problem is with the Flash part of the > application. > > Thanks, > > Andrew > > On 08/02/2012 10:17 PM, Maxim Solodovnik wrote: > > Thanks for your investigation, I'll try to handle this (if will have > > enough time) > > Or you can propose the patch :) > > > > On Fri, Aug 3, 2012 at 12:03 PM, Andrew Sengul > mailto:and...@contrastco.com> > > <mailto:and...@contrastco.com <mailto:and...@contrastco.com>>> wrote: > > > > Hi everyone, > > > > I posted about this a while ago and have since found some more > about > > input handling with the OpenMeetings remote control. Basically, my > > problem is that when a user is remotely controlling another user's > > screen through OpenMeetings, if the remote-controlling user > presses the > > spacebar or enter key, keyboard input to the remote screen stops > > working. The mouse will still work, but no keys pressed will > register on > > the other user's computer. > > > > It looks like screen remote control within the Flash > application is > > handled by the OpenLaszlo file > > > singlewebapp/WebContent/swf10/screensharing/screenSharingDialog.lzx, and > &g