Uploaded image for project: 'Reported Issues'
  1. Reported Issues
  2. RI-25

First character typed in Edit Box might be misplaced

    XMLWordPrintable

    Details

    • Type: Maintenance
    • Status: Fixed (View Workflow)
    • Resolution: Unresolved
    • Labels:
      None
    • Old bug number:
      31293
    • environment:
      Hide

      +Uniface Version : 9.6.05 X503 and up / Version 9.7.01 and up
      +Operating System : All Windows versions
      +Database : DBMS independent

      Show
      +Uniface Version : 9.6.05 X503 and up / Version 9.7.01 and up +Operating System : All Windows versions +Database : DBMS independent
    • Patch version:
      F115,G315

      Description

      Summary:
      The first character typed in an Edit Box might be misplaced. In a given
      scenario the mentioned can occur when the user enters data in one field,
      switches to another occurrence and then immediately enters data into the active
      field, while Uniface is still busy processing (e.g.) the Value Changed trigger
      (of the previously active field). In addition, an explicit setocc is done in
      the Leave Modified Occurrence.

      Symptoms:
      The first character typed in an Edit Box might be misplaced. In a given
      scenario the mentioned can occur when the user enters data in one field,
      switches to another occurrence and then immediately enters data into the active
      field, while Uniface is still busy processing (e.g.) the Value Changed trigger
      (of the previously active field). In addition, an explicit setocc is done in
      the Leave Modified Occurrence.

      Consider the following scenario:

      1. The form FRM1 shows two occurrences of the entity ENT1
      2. The field FLD1 of the first occurrence of the entity ENT1 has the focus
      3. Data is entered into FLD1 (e.g. 123)
      4. The focus is set to FLD1 in the second occurrence of ENT1
      5. Data is entered into FLD1 (e.g. 456), while Uniface is still busy
      processing the Value Changed trigger of FLD1 in occurrence one of ENT1

      Result:

      • FLD1 in occurrence one shows the value "4123" and in occurrence two "56"

      Note: the problem only seems to occur when in addition setocc
      (plus shows) is used in the Leave Modified Occurrence
      trigger of ENT1; e.g.

      setocc "ENT", 1
      show
      setocc "ENT", 2
      show

        Attachments