on data broadcast, fields losing focus

Is it a bug, or by design that when a smart client receives a data broadcast that the cursor loses focus of it’s current field?
In my WMS system workers are scanning barcodes into one field (where at the end of the onDataChange it regains focus on the field), but once a broadcast occurs the cursor jumps out of the field. This is becoming a huge slowdown for our warehouse as they have to go back to the computer and click back in the field, where they should be scanning a barcode every two seconds.

That shouldn’t happen and I have never seen that happen either.

Do you have any code attached to the onDataBroadCast event maybe?

Paul

We’re experiencing this as well. We are not using the onDataBroadcast function. It definitely coincides with the display of the data broadcast icon in the lower right of the windows. This is under Servoy 4.1.7 and has been observed using Macs and various versions of Windows.

Missed Paul’s reply. No we are not using an onDataBroadcast event handler, I had considered it for some other aspect of our solution but backed off until we had this resolved. FYI this is on Linux boxes, Ubuntu 6.06 and 10.04 machines.

This can only happen when the data (record/column) that that client is editing is also the one that is changed.
Else it shouldnt really matter.

If one can make some example where we have an app server and 2 clients i be happy to look at it.

I’ll try to get a test solution together, interestingly this is on FID that doesn’t have a table. However the form behind it is on the record that gets updates.

Hello,
Was there any solution given to this issue?

I believe this is the same or if not a very similar issue to what we are experiencing. Smart clients losing there selected record on a databroadcast is a critical and urgent issue for us.

I have supplied a sample solution and filed a support case but have not heard anything since. Here is a link to my post viewtopic.php?f=22&t=16552

Hi,

Sounds like you are using a keyboard wedge to capture the output from your barcode scanner. Maybe a solution would be to capture the data directly from the serial port, I have used the serial port plugin from Prolific Axis www.prolificaxis.com and it works well. When you receive data you can configure it to run a method on your form.