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

Can't paste the string to the correct location in TextArea in JDK1.3 (linux b17)

XMLWordPrintable

    • x86
    • linux

      hercule.li@prc 2000-08-29

      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-b17)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-b17, mixed mode)

      locale: zh_CN
      encoding: GBK

      The reproduce steps:

         1) open 2 windows
         
         2) in one window (we call it first window) ,
            run attached file TextAreaDemo.java
            you will see a TextArea, and its content is 'TextArea1'
            
         3) in another window (we call it second window),
            input some string ,like 'abcd'
            choose this string with your mouse .
            
         4) move your mouse to the first window, and set
            focus on the tail of string 'TextArea1', then
            press Return button. Now, the focus should be
            under string 'TextArea1'.
         
         5) Press middle button of the mouse, you will found
            the string 'abcd' is pasted in the tail of string
            'TextArea1'.
            
           
         We hope the string 'abcd' is pasted under the string
         'TextArea1', but now the string 'abcd' is pasted to
         the tail of string 'TextArea1'.

         I find out this bug in KDE and Gnome.
         
         BTW, there is no this bug in solaris platform.

      ----- hercule.li@prc 2000-08-29

            dmendenhsunw David Mendenhall (Inactive)
            hlisunw Hercule Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: