Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4284717

kestrel-L: cursor disappeared with delete key action in bidi JTextField

XMLWordPrintable

    • beta
    • x86
    • generic, windows_nt
    • Verified

      > And also,
      >
      > In any j textcomponent with K or L, the cursor is disappeared
      > frequently when I press "delete" key. It doesn't happen when I press
      > "backspace" key.
      >
      > 1) run Bidipad in any win32(en)
      > 2) select Widgets->JTextField
      > 3) type any long bidi string.
      > 4) move the cursor in the middle of string.
      > 5) press "delete" key
      >
      > Please confirm me if it is a bidi bug.
      >
      > thanks,
      > baechul

      Hi Bae-Chul,
      We confirm this in Kestrel "L" on Windows 98 Hebrew. The problem appears
      to be a race condition. Here is how we tested:

      1. Fill a JTextField with Hebrew text
      2. Use the mouse to place the text cursor towards the right end (begining)
      of the field
      3. Press the "Delete" key several times

      Result:

      Each time the "Delete" key is pressed, the letter to the left (the next
      letter in logical order) of the text cursor is deleted. This is normal
      behavior. Pressing the "Backspace" key deletes text to the right
      (previous, or earlier in the logical order) of the cursor.

      After pressing the "Delete" key the text cursor disappears. This happens
      approximately three out of four times the "Delete" key is pressed. There
      appears to be no relation to typing speed or character position in the
      string. Pressing any other key results in the cursor being redisplayed.

      The above results are the same for Hebrew only, mixed Hebrew and English
      or English only.

      Regards,

       - yba

         EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA ~. .~ TclTek Ltd.
       =}-------------------------------------------------ooO--U--Ooo-----------{=
        - ###@###.### - tel: +972.52.670.353, http://www.tcltek.co.il -


      bae-chul.kim@eng 1999-10-25

            svioletsunw Scott Violet (Inactive)
            bkimsunw Bae-chul Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: