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

Middle mouse button copy/paste broken in Chinese locale.

XMLWordPrintable

    • rc1
    • sparc
    • solaris_8
    • Verified

      algol% echo $LANG
      zh
      algol% java -version
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b79)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b79, mixed mode)
      algol% uname -a
      SunOS algol 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-2

      Attached a (pretty stupid and simple) code JT.java. It's much smaller than
      FontTest.java.
      (1) Give JT's JFrame focus. Type Ctrl-Space so that the Chinese input method
          is activated.
      (2) Give a native X-window focus. Type Ctrl-Space so that Chinese input is
          activated. Type some Chinese in. Use the left mouse button to select the
          chinese.
      (3) Go back to JT. Use the middle mouse button to paste. Nothing happens.

      The copy/paste buttons work. The middle mouse button works from Java to
      native. The only problem seems to be with the middle button paste when
      copying from native to Java.

      ###@###.### 2001-09-18

      Danila Sinopalnikov (###@###.###) sent a utility dumpsel.c that dumps
      the contents of the clipboard on demand. It has been attached. The results
      are attached to this bug report, too -- in the file zh_cn_8.sel.

      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b80)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b80, mixed mode)

      ###@###.### 2001-09-24

            dassunw Das Das (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: