You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2006/12/18 08:08:21 UTC

[jira] Commented: (OFBIZ-259) Character buffer is out of synch with enter key...

    [ http://issues.apache.org/jira/browse/OFBIZ-259?page=comments#action_12459196 ] 
            
Jacques Le Roux commented on OFBIZ-259:
---------------------------------------

Poking around for this issue I found some very bothering bugs that finally I really want to catch with :

1. You can use enter key to enter login and password (you have to use "Ent" button)
2. After having just logged if you try to use enter key to select a product using its ProductId, POS hangs (a trick to avoid this problem is to use Esc key just before entering ProductId, strange...)
3. Having used the trick above you may select a product entering its ProductId  but don't fool yourself else POS will try to let you know using a "Product not found" dialog-box but almost everytime this hang the system.

This very annoying behaviors are true on Windows as on Linux. For now I will try to fix them. If I can't achieved that in a reasonable time I will open Jira issues to track them up.

Anybody have even try to see what's wrong here ? I tried yesterday, but after a couple of hours testing some other means and generalizing because this problem may appears in other situations (XDIalog in place of JDialog, usint Output in place of PosDialog) I did not succeed. XDIalog is perhaps a way but will have to change more things, Output is also a possiblity but more complicated : have to let appear errors reasons and wait an enter key before resuming to std "Register Open" or "Closed".

> Character buffer is out of synch with enter key...
> --------------------------------------------------
>
>                 Key: OFBIZ-259
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-259
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>         Environment: Tested on FC3 and Win2K, using plain keyboard entry and Metrologic scanner MS9520
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>
> From Ray Barlow
> Whenever the enter key is pressed (or sent via the scanner) it is imediately being processed and what are effectively preceding characters get pushed to the back of the buffer.
> For example with the scanner configured to send a CR suffix with the barcode, which all works well when tested in text editor environment, the till will process the CR code in front of the barcode. The barcode is left sitting up on the screen and the log files shows that a 500 enter code was received. On a subsequent scan the product is added as it is sitting in the buffer before the next pre-emptive CR key comes in, and that SKU is left in the visible buffer.
> This can also be reproduced by entering characters on the keypad and pressing enter at a reasonable rate. You will invariably get ahead of the SKU code and end up seeing the product not found screen, and when you close that the buffer will show the few characters that were beaten by the enter key.
> I am guessing there is some sort of synch issue with the buffer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira