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

REGRESSION: Delete composed text caused insertion of erroneous text

XMLWordPrintable

    • beta2
    • x86
    • windows_xp



      Name: gm110360 Date: 02/26/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-be
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      If one hits the Backspace key to delete a character during composing, the input method would insert into the client component, in front of the composed text, an erroneous copy of the composed text minus the character just deleted.

      J2SE 1.4.2 does not do this.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install the City Input Method (http://java.sun.com/j2se/1.4.2/docs/guide/imf/spi-sample/CityIM.jar) or VietIME (http://prdownloads.sourceforge.net/vietime/VietIME-1.0.3.zip) by copying the .jar file into the jre\lib\ext directory
      2. Launch Notepad jfc demo program packaged with JDK 1.5 Beta
      3. Activate either input method, selecting English for City IM or Vietnamese (VNI SmartMark) for VietIME
      4. Start composing text by typing "abcd" in the text client component. Do not commit the text yet
      5. Hit Backspace key

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The text client component should show "abc".
      ACTUAL -
      The text client component shows "abcabc". Hitting Backspace key again and again will show "abcabab" and then "abcabaa".

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 240474)
      ======================================================================

            idk Igor Kushnirskiy (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: