Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-259

Character buffer is out of synch with enter key...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Trunk
    • None
    • None
    • Tested on FC3 and Win2K, using plain keyboard entry and Metrologic scanner MS9520

    Description

      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.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: